JDK-8144160 : Regression: two tests fail on Windows with "ant test" target
  • Type: Bug
  • Component: core-libs
  • Sub-Component: jdk.nashorn
  • Affected Version: 9
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_7
  • CPU: generic
  • Submitted: 2015-11-27
  • Updated: 2017-08-09
  • Resolved: 2015-11-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 8 JDK 9
8u112Fixed 9 b96Fixed
Related Reports
Duplicate :  
Relates :  
Relates :  
Description
with latest jdk9-dev tip build set as JAVA_HOME, nashorn's ant test fails to complete.


   [testng] Test(compile, run): test\script\trusted\event_queue.js
   [testng] jjs [<options>] <files> [-- <arguments>]
   [testng] "Illegal char <:> at index 15: --log=recompile:quiet" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.
   [testng]
   [testng]
   [testng] Test(compile, run): test\script\trusted\getenv.js
   [testng] Test(compile, run): test\script\trusted\optimistic_recompilation.js
   [testng] jjs [<options>] <files> [-- <arguments>]
   [testng] "Illegal char <:> at index 15: --log=recompile:quiet" is not a recognized option. Use "-h" or "-help" to see a list of all supported options.
   [testng]
   [testng]
   [testng] Test(compile, run): test\script\trusted\urlreader.js
   [testng]
   [testng] ===============================================
   [testng] Ant suite
   [testng] Total tests run: 1558, Failures: 2, Skips: 0
   [testng] ===============================================
   [testng]
   [testng] [TestNG] Time taken by org.testng.reporters.jq.Main@f6c48ac: 513 ms
   [testng] [TestNG] Time taken by [FailedReporter passed=1556 failed=2 skipped=0]: 146 ms
   [testng] [TestNG] Time taken by org.testng.reporters.EmailableReporter@271053e1: 874 ms
   [testng] [TestNG] Time taken by jdk.nashorn.internal.test.framework.JSJUnitReportReporter@6500df86: 307 ms
   [testng] [TestNG] Time taken by org.testng.reporters.SuiteHTMLReporter@5622fdf: 3489 ms
   [testng] [TestNG] Time taken by org.testng.reporters.XMLReporter@553f17c: 190 ms

BUILD FAILED
D:\src\jdk9-dev\nashorn\make\build.xml:552: The following error occurred while executing this line:
D:\src\jdk9-dev\nashorn\make\build.xml:513: The tests failed.

Total time: 4 minutes 27 seconds

The regression is seen on Windows 7 after fix for JDK-8143642

Comments
I think we should disable fix for JDK-8143642 for now and try to get a well-tested, cross-platform fix later.
27-11-2015