JDK-8357149 : Test runtime/cds/appcds/aotCode/AOTCodeFlags.java is broken after JDK-8354887
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 25
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2025-05-16
  • Updated: 2025-05-16
  • Resolved: 2025-05-16
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.
JDK 25
25 masterFixed
Related Reports
Causes :  
Description
Error: VM option 'AOTAdapterCaching' is diagnostic and must be enabled via -XX:+UnlockDiagnosticVMOptions.
Error: The unlock option must precede 'AOTAdapterCaching'.
Improperly specified VM option 'AOTAdapterCaching'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
Comments
Changeset: 76570c62 Branch: master Author: Calvin Cheung <ccheung@openjdk.org> Date: 2025-05-16 22:12:59 +0000 URL: https://git.openjdk.org/jdk/commit/76570c627db527f856f2394fb9ead02939eca621
16-05-2025

A pull request was submitted for review. Branch: master URL: https://git.openjdk.org/jdk/pull/25275 Date: 2025-05-16 20:26:28 +0000
16-05-2025

This seems to fail only on non-debug build; debug build works fine.
16-05-2025