runtime/cds/appcds/aotProfile/AOTProfileFlags.java fails with
Error: VM option 'ProfileTraps' is develop and is available only in debug version of VM.
Improperly specified VM option 'ProfileTraps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[2025-05-17T03:38:18.208363386Z] Waiting for completion for process 526246
[2025-05-17T03:38:18.208399302Z] Waiting for completion finished for process 526246
----------System.err:(21/1050)----------
stdout: [];
stderr: [Error: VM option 'ProfileTraps' is develop and is available only in debug version of VM.
Improperly specified VM option 'ProfileTraps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at AOTProfileFlags.trainAndRun(AOTProfileFlags.java:85)
at AOTProfileFlags.testFlagsMismatch(AOTProfileFlags.java:126)
at AOTProfileFlags.main(AOTProfileFlags.java:140)
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:1447)
when running on non-debug platforms.
This seems to be the test issue.
Error: VM option 'ProfileTraps' is develop and is available only in debug version of VM.
Improperly specified VM option 'ProfileTraps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
[2025-05-17T03:38:18.208363386Z] Waiting for completion for process 526246
[2025-05-17T03:38:18.208399302Z] Waiting for completion finished for process 526246
----------System.err:(21/1050)----------
stdout: [];
stderr: [Error: VM option 'ProfileTraps' is develop and is available only in debug version of VM.
Improperly specified VM option 'ProfileTraps'
Error: Could not create the Java Virtual Machine.
Error: A fatal exception has occurred. Program will exit.
]
exitValue = 1
java.lang.RuntimeException: Expected to get exit value of [0], exit value is: [1]
at jdk.test.lib.process.OutputAnalyzer.shouldHaveExitValue(OutputAnalyzer.java:522)
at AOTProfileFlags.trainAndRun(AOTProfileFlags.java:85)
at AOTProfileFlags.testFlagsMismatch(AOTProfileFlags.java:126)
at AOTProfileFlags.main(AOTProfileFlags.java:140)
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:1447)
when running on non-debug platforms.
This seems to be the test issue.