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

Boolean used as optimistic call return type

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 8u40
    • Fix Version/s: 9
    • Component/s: core-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      b36
    • CPU:
      generic
    • OS:
      generic

      Backports

        Description

        Well the nashorn-nightly completed successfully at least so it seems:
        http://javac.us.oracle.com/job/nashorn-nightly/3/console

        But looking at the log files carefully, I see these failures.
             [java] Test(compile, run): test/script/external/test262/test/suite/ch15/15.9/15.9.5/S15.9.5_A41_T1.js
             [java] Test(compile, run): test/script/external/test262/test/suite/ch15/15.9/15.9.5/S15.9.5_A42_T1.js
             [java] Exception in thread "main" java.lang.AssertionError: TEST FAILED
             [java] at jdk.nashorn.internal.test.framework.ParallelTestRunner.run(ParallelTestRunner.java:416)
             [java] at jdk.nashorn.internal.test.framework.ParallelTestRunner.main(ParallelTestRunner.java:436)
             [java]
             [java] FAILED TESTS
             [java] Test(compile, run): test/script/external/test262/test/suite/ch10/10.1/10.1.1/10.1.1-23-s.js
             [java] java.lang.AssertionError: boolean, class java.lang.Object
             [java] Test(compile, run): test/script/external/test262/test/suite/ch10/10.1/10.1.1/10.1.1-24-s.js
             [java] java.lang.AssertionError: boolean, class java.lang.Object
             [java] Test(compile, run): test/script/external/test262/test/suite/ch10/10.6/10.6-6-4.js
             [java] java.lang.AssertionError: boolean, class java.lang.Object
             [java] Tests run: 11552/11552 tests, passed: 11549 (99.97%), failed: 3. Time elapsed: 49min 49s.
             [java] Java Result: 1
        Kumar

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                attila Attila Szegedi
                Reporter:
                jlaskey Jim Laskey
                Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved: