Please excuse for the messy fuzzy test (attached).
java.lang.NoClassDefFoundError: Could not initialize class java.lang.Long$LongCache
at java.base/java.lang.Long.valueOf(Long.java:1202)
at a.<init>(Test_545.java:10)
at Test_545.j(Test_545.java:31)
at Test_545.main(Test_545.java:24)
A repetition of theJDK-8048190? I can see no obvious reason to fail here. Or a clearly expressed one.
java.lang.NoClassDefFoundError: Could not initialize class java.lang.Long$LongCache
at java.base/java.lang.Long.valueOf(Long.java:1202)
at a.<init>(Test_545.java:10)
at Test_545.j(Test_545.java:31)
at Test_545.main(Test_545.java:24)
A repetition of the
- relates to
-
JDK-8310489 New test runtime/ClassInitErrors/TestStackOverflowDuringInit.java failed
- Resolved
-
JDK-8302491 NoClassDefFoundError omits the original cause of an error
- Resolved
-
JDK-8314935 Shenandoah: Unable to throw OOME on back-to-back Full GCs
- Resolved
-
JDK-8048190 NoClassDefFoundError omits original ExceptionInInitializerError
- Resolved
(1 links to)