JDK-8008577 causes a Nashorn test to break:
[testng] Test test/script/basic/NASHORN-627.js failed at line 1 -
[testng] expected: 'Sun Dec 21 1969 00:00:00 GMT+0100 (CET) -954000000 1969-12-20T23:00:00.000Z'
[testng] found: 'Sun Dec 21 1969 00:00:00 GMT+0100 (CEST) -954000000 1969-12-20T23:00:00.000Z'
It seems like the Nashorn test is correct, but the JDK-8008577 causes a regression that the test caught.
- build JDK9 tip and set its build/<platform>/jdk directory as JAVA_HOME
- go to jdk9/nashorn/make
- execute "ant test"