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
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
- duplicates
-
JDK-8027622 java.time.Instant.create failing since hs25-b56
-
- Closed
-