JCK test api/java_util/logging/LogRecord/index_Millis starts failing after JDK-8072645

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • 9
    • Affects Version/s: 9
    • Component/s: core-libs

      JCK test api/java_util/logging/LogRecord/index_Millis starts failing in corelibs jdk9 nightly testing on all platforms after JDK-8072645.

      java version "1.9.0-ea"
      Java(TM) SE Runtime Environment (build 1.9.0-ea-langtools-nightly-h2276-20150226-b53)

      jck suite info:
      JCK version: 9/b07

      ----------out1:(15/1072)----------
      java.lang.ArithmeticException: long overflow
      at java.lang.Math.multiplyExact(Math.java:915)
      at java.time.Instant.toEpochMilli(Instant.java:1232)
      at java.util.logging.LogRecord.getMillis(LogRecord.java:478)
      at javasoft.sqe.tests.api.java.util.logging.LogRecord.MillisTests.LogRecord2011(MillisTests.java:48)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:498)
      at javasoft.sqe.javatest.lib.MultiTest.invokeTestCase(MultiTest.java:405)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:194)
      at javasoft.sqe.javatest.lib.MultiTest.run(MultiTest.java:126)
      at javasoft.sqe.tests.api.java.util.logging.LogRecord.MillisTests.main(MillisTests.java:26)
      LogRecord2011: Failed. Test case throws exception: java.lang.ArithmeticException: long overflow
      STATUS:Failed.test cases: 1; all failed; first test case failure: LogRecord2011

            Assignee:
            Daniel Fuchs
            Reporter:
            Amy Lu (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: