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

b115 java.time tck test failures: java.time.DateTimeException: Instant exceeds minimum or maximum instant

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P3 P3
    • None
    • 8
    • core-libs
    • None

      A number of java_time/tck tests failed with the same exception on JDK8b115 (the tests were taken from the JDK8 repo)

      java.time.DateTimeException: Instant exceeds minimum or maximum instant
      at java.time.Instant.create(Instant.java:408)
      at java.time.Instant.ofEpochSecond(Instant.java:327)
      at java.time.Instant.plus(Instant.java:926)
      at java.time.Instant.plusNanos(Instant.java:904)
      at tck.java.time.TCKLocalDateTime.now_Clock_allSecsInDay_offset(TCKLocalDateTime.java:350)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:483)
      at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580)
      at org.testng.internal.Invoker.invokeMethod(Invoker.java:478)
      at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:618)
      at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:885)
      at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:127)
      at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:110)
      at org.testng.TestRunner.runWorkers(TestRunner.java:654)
      at org.testng.TestRunner.privateRun(TestRunner.java:529)
      at org.testng.TestRunner.run(TestRunner.java:472)
      at org.testng.SuiteRunner.runTest(SuiteRunner.java:323)
      at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:318)
      at org.testng.SuiteRunner.privateRun(SuiteRunner.java:291)
      at org.testng.SuiteRunner.run(SuiteRunner.java:197)
      at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:684)
      at org.testng.TestNG.runSuitesLocally(TestNG.java:651)
      at org.testng.TestNG.run(TestNG.java:574)
      at com.oracle.tck.lib.testng.TestNGRunner.run(TestNGRunner.java:65)
      at com.oracle.tck.lib.testng.TestNGRunner.main(TestNGRunner.java:27)
      now_Clock_allSecsInDay_offset: Failed. Test failed


      api/java_time/tck/java/time/index.html#TCKOffsetDateTime
      api/java_time/tck/java/time/index.html#TCKLocalDate
      api/java_time/tck/java/time/index.html#TCKLocalTime
      api/java_time/tck/java/time/index.html#TCKInstant
      api/java_time/tck/java/time/index.html#TCKOffsetTime
      api/java_time/tck/java/time/index.html#TCKZonedDateTime
      api/java_time/tck/java/time/index.html#TCKLocalDateTime

      Please see the attached logs for more detail

            Unassigned Unassigned
            dbessono Dmitry Bessonov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: