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

JDK-8008577 breaks Nashorn test

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P3
    • Resolution: Fixed
    • Affects Version/s: 9
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      b77
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Verified

      Backports

        Description

        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"

          Attachments

            Issue Links

              Activity

                People

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

                  Dates

                  • Created:
                    Updated:
                    Resolved: