Note: the test case is executed with -XX:+UseCompactObjectHeaders, but the JDK itself does not include a classes_coh.jsa
----------System.err:(20/1107)----------
stdout: [[0.002s][info][cds] full module graph: disabled due to incompatible property: jdk.module.showModuleResolution=true
[0.002s][info][cds] Specified shared archive not found (BulkLoaderTestApp.dynamic.jsa)
Error occurred during initialization of VM
Unable to use shared archive: invalid archive
];
stderr: [Class data sharing is inconsistent with other specified options.
]
exitValue = 1
java.lang.RuntimeException: 'CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at BulkLoaderTest.main(BulkLoaderTest.java:90)
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:333)
at java.base/java.lang.Thread.run(Thread.java:1447)
----------System.err:(20/1107)----------
stdout: [[0.002s][info][cds] full module graph: disabled due to incompatible property: jdk.module.showModuleResolution=true
[0.002s][info][cds] Specified shared archive not found (BulkLoaderTestApp.dynamic.jsa)
Error occurred during initialization of VM
Unable to use shared archive: invalid archive
];
stderr: [Class data sharing is inconsistent with other specified options.
]
exitValue = 1
java.lang.RuntimeException: 'CDS archive has aot-linked classes. It cannot be used when archived full module graph is not used.' missing from stdout/stderr
at jdk.test.lib.process.OutputAnalyzer.shouldContain(OutputAnalyzer.java:253)
at BulkLoaderTest.main(BulkLoaderTest.java:90)
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:333)
at java.base/java.lang.Thread.run(Thread.java:1447)
- relates to
-
JDK-8345224 Test runtime/cds/appcds/applications/JavacBench.java#dynamic fails after JDK-8344822
-
- Resolved
-
- links to
-
Commit(master) openjdk/jdk/8485cb1c
-
Review(master) openjdk/jdk/22403