runtime/NMT/CommandLineDetail.java and runtime/NMT/CommandLineSummary.java check that no 'error' appears in stdout, which may conflict with the use of -Xlog:cds and cause the following test error upon cds failure:
[0.059s][info][cds] An error has occurred while processing the shared archive file. Run with -Xlog:cds for details.
...
java.lang.RuntimeException: 'error' found in stdout
at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:299)
at CommandLineDetail.main(CommandLineDetail.java:44)
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)
[0.059s][info][cds] An error has occurred while processing the shared archive file. Run with -Xlog:cds for details.
...
java.lang.RuntimeException: 'error' found in stdout
at jdk.test.lib.process.OutputAnalyzer.shouldNotContain(OutputAnalyzer.java:299)
at CommandLineDetail.main(CommandLineDetail.java:44)
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)
- relates to
-
JDK-8345826 Do not automatically resolve jdk.internal.vm.ci when libgraal is used
-
- Resolved
-