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 - Failing tests on JDK8
Summary: Failing tests on JDK8
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.0
Hardware: All All
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: JDK_8, JDK_SPECIFIC, TEST
Depends on:
Blocks:
 
Reported: 2013-10-23 13:56 UTC by Jiri Skrivanek
Modified: 2013-10-25 08:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.