JDK-8372743 : [lworld] jdk/internal/misc/CDS/ArchivedEnumTest.java fails with --enable-preview
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-11-28
  • Updated: 2025-12-01
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
repo-valhallaUnresolved
Description
----------System.err:(19/851)----------
 stdout: [[0.027s][info][cds] Core region alignment: 16384
Error occurred during initialization of boot layer
java.lang.AssertionError
];
 stderr: []
 exitValue = 1

java.lang.RuntimeException: 'Loading classes to share' missing from stdout/stderr
	at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
	at TestCommon.testDump(TestCommon.java:537)
	at ArchivedEnumTest.main(ArchivedEnumTest.java:46)
	at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:104)
	at java.base/java.lang.reflect.Method.invoke(Method.java:565)
	at com.sun.javatest.regtest.agent.MainActionHelper$AgentVMRunnable.run(MainActionHelper.java:335)
	at java.base/java.lang.Thread.run(Thread.java:1474)