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 239370 - Failing ScriptingCreateFromTemplateTest on JDK8 and Windows
Summary: Failing ScriptingCreateFromTemplateTest on JDK8 and Windows
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Templates (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: JDK_8, JDK_SPECIFIC, TEST
Depends on:
Blocks:
 
Reported: 2013-12-11 13:41 UTC by Jiri Skrivanek
Modified: 2013-12-13 13:40 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-12-11 13:41:57 UTC
Please, fix test failing on JDK8 and Windows only

org.netbeans.modules.templates.ScriptingCreateFromTemplateTest.testFreeFileExtension

To reproduce:

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

http://test4u.cz.oracle.com/view/StableBTD/job/StableBTD-trunk/lastCompletedBuild/testReport/
Comment 1 Martin Entlicher 2013-12-11 16:51:53 UTC
It's possible that they changed \n to the platform-specific line separator in Nashorn, which made it to fail on Windows.
Comment 2 Martin Entlicher 2013-12-11 21:49:46 UTC
Should be fixed by changeset:   269224:02d8f1bc8908
http://hg.netbeans.org/core-main/rev/02d8f1bc8908
Comment 3 Quality Engineering 2013-12-13 02:51:44 UTC
Integrated into 'main-silver', will be available in build *201312130002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/02d8f1bc8908
User: mentlicher@netbeans.org
Log: #239370: Use platform-specific line separator when Nashorn engine is used.