Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8129881

JDK-8008577 breaks Nashorn test

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 9
    • 9
    • core-libs
    • b77
    • generic
    • generic
    • Verified

        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.

        To reproduce:

        - build JDK9 tip and set its build/<platform>/jdk directory as JAVA_HOME
        - go to jdk9/nashorn/make
        - execute "ant test"

              naoto Naoto Sato
              attila Attila Szegedi
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: