-
Bug
-
Resolution: Not an Issue
-
P4
-
None
-
25
-
x86_64
-
windows
ADDITIONAL SYSTEM INFORMATION :
Windows 11
PowerShell 7.5.2
openjdk 25 2025-09-16
OpenJDK Runtime Environment (build 25+35-3488)
OpenJDK 64-Bit Server VM (build 25+35-3488, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
When trying to use the simplified command approach to Project Leyden, the subprocess fails to work with the generated configuration file.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Following the description in https://openjdk.org/jeps/514 use the following command line
java -XX:AOTCacheOutput=app.aot -jar JWTExample.jar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
An app.out archive is created just like when using the previous approach with -XX:AOTMode=record and java -XX:AOTMode=create.
ACTUAL -
Error message that the app.oat file just created by the same tool is incompatible.
[0.048s][error ][aot] class path and/or module path are not compatible with the ones specified when the AOTConfiguration file was recorded (hint: enable -Xlog:class+path=info to diagnose the failure)
Error occurred during initialization of VM
Unable to use create AOT cache.
Windows 11
PowerShell 7.5.2
openjdk 25 2025-09-16
OpenJDK Runtime Environment (build 25+35-3488)
OpenJDK 64-Bit Server VM (build 25+35-3488, mixed mode, sharing)
A DESCRIPTION OF THE PROBLEM :
When trying to use the simplified command approach to Project Leyden, the subprocess fails to work with the generated configuration file.
STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
Following the description in https://openjdk.org/jeps/514 use the following command line
java -XX:AOTCacheOutput=app.aot -jar JWTExample.jar
EXPECTED VERSUS ACTUAL BEHAVIOR :
EXPECTED -
An app.out archive is created just like when using the previous approach with -XX:AOTMode=record and java -XX:AOTMode=create.
ACTUAL -
Error message that the app.oat file just created by the same tool is incompatible.
[0.048s][error ][aot] class path and/or module path are not compatible with the ones specified when the AOTConfiguration file was recorded (hint: enable -Xlog:class+path=info to diagnose the failure)
Error occurred during initialization of VM
Unable to use create AOT cache.