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>
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
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
Comment 3 Quality Engineering 2013-10-25 02:10:54 UTC
Integrated into 'main-silver', will be available in build *201310250001* on (upload may still be in progress)

Log: #237557: Fixed tests failing on JDK 8 due to a differece between Rhino and Nashorn script engines.