Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8028249 | 8 | Rickard Backman | P2 | Closed | Fixed | b116 |
JDK-8028962 | port-stage-ppc-aix | Rickard Backman | P2 | Resolved | Fixed | master |
jdk8/tl picked up hs25-b56 yesterday and we seem to have picked up a regression.
Approximately 15 tests that use java.time.Instant started to fail with:
java.time.DateTimeException: Instant exceeds minimum or maximum instant
Sample tests in the jdk repository are:
test/java/util/Calendar/JavatimeTest.java
test/java/nio/file/attribute/FileTime/Basic.java
and many of the JSR-310 regression and JCK tests.
The tests pass if run with -Xint although it seems to cause warnings to be emitted:
Java HotSpot(TM) 64-Bit Server VM warning: Shutting down compiler C2 (no space to run compilers)
Java HotSpot(TM) 64-Bit Server VM warning: Shutting down compiler C1 (no space to run compilers)
The method causing the problem appears to Instant.create so running with -XX:CompileCommandFile pointing to a .hotspot_compiler file with:
exclude java/time/Instant create
can be used to workaround the issue for now.
- backported by
-
JDK-8028962 java.time.Instant.create failing since hs25-b56
- Resolved
-
JDK-8028249 java.time.Instant.create failing since hs25-b56
- Closed
- duplicates
-
JDK-8027694 java/time/tck/java/time/temporal/TCKWeekFields.java, VM crash since hs25-b56
- Closed
-
JDK-8028211 b115 java.time tck test failures: java.time.DateTimeException: Instant exceeds minimum or maximum instant
- Closed
-
JDK-8028260 java/time/tck/java/time/TCKInstant.java failed.
- Closed
- relates to
-
JDK-8026844 Various Math functions needs intrinsification
- Resolved
-
JDK-8027694 java/time/tck/java/time/temporal/TCKWeekFields.java, VM crash since hs25-b56
- Closed