JDK-8372601 : [lworld] runtime/cds/appcds/aotCode/AOTCodeCompressedOopsTest.java fails with --enable-preview
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: repo-valhalla
  • Priority: P4
  • Status: Closed
  • Resolution: Duplicate
  • Submitted: 2025-11-26
  • Updated: 2025-12-15
  • Resolved: 2025-12-15
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-valhallaResolved
Related Reports
Blocks :  
Duplicate :  
Description
java.lang.RuntimeException: Failed to find CompressedOops settings
	at AOTCodeCompressedOopsTest$Tester.checkExecution(AOTCodeCompressedOopsTest.java:200)
	at jdk.test.lib.cds.CDSAppTester.executeAndCheck(CDSAppTester.java:222)
	at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:427)
	at jdk.test.lib.cds.CDSAppTester.productionRun(CDSAppTester.java:394)
	at AOTCodeCompressedOopsTest.main(AOTCodeCompressedOopsTest.java:58)
	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)
Comments
Need to re-close as duplicate.
15-12-2025

----------System.err:(25/1368)---------- stdout: [ AOTConfiguration recorded: AOTCodeCompressedOopsTest.aotconfig ]; stderr: [error: class file for /modules/java.base/java/lang/Record.class uses preview features of Java SE 26. (use --enable-preview to allow loading of class files which contain preview features) 1 error Exception in thread "main" java.lang.InternalError: compilation failure at JavacBenchApp.compile(JavacBenchApp.java:109) at JavacBenchApp.main(JavacBenchApp.java:217) ] exitValue = 1 This is a duplicate of runtime/cds/appcds/aotCode/AOTCodeFlags.java
11-12-2025

This still fails even with the CDS heap dump draft applied. I'll investigate further.
04-12-2025