JDK-8356639 : Problem list runtime/NMT/CommandLineDetail.java in ProblemList-AotJdk.txt
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 25
  • Priority: P4
  • Status: Open
  • Resolution: Unresolved
  • Submitted: 2025-05-09
  • Updated: 2025-05-26
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
25Unresolved
Related Reports
Relates :  
Description
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)