This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 237557

Summary: Failing tests on JDK8
Product: platform Reporter: Jiri Skrivanek <jskrivanek>
Component: TemplatesAssignee: Martin Entlicher <mentlicher>
Status: VERIFIED FIXED    
Severity: normal Keywords: JDK_8, JDK_SPECIFIC, TEST
Priority: P1    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description Jiri Skrivanek 2013-10-23 13:56:09 UTC
Please, fix tests failing on JDK8. To reproduce:

ant -f openide.loaders test-unit -Dtest.includes=**/ScriptingCreateFromTemplateTest.class
ant -f openide.loaders test-unit -Dtest.includes=**/IndentEngineIntTest.class

http://test4u.cz.oracle.com/job/StableBTD-trunk/lastCompletedBuild/testReport
Comment 1 Martin Entlicher 2013-10-23 15:30:55 UTC
This is caused by print behaving like println and println is not defined.

This is probably a difference in the Nashorn engine...
Comment 2 Martin Entlicher 2013-10-24 13:04:45 UTC
Fixed by changeset:   266398:e92f6c82febd
http://hg.netbeans.org/core-main/rev/e92f6c82febd
Comment 3 Quality Engineering 2013-10-25 02:10:54 UTC
Integrated into 'main-silver', will be available in build *201310250001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e92f6c82febd
User: mentlicher@netbeans.org
Log: #237557: Fixed tests failing on JDK 8 due to a differece between Rhino and Nashorn script engines.