mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-28 15:24:43 +02:00
8187979: Clean up info printing at CDS dump time
Reviewed-by: jiangli, ccheung
This commit is contained in:
parent
fd93a04684
commit
a2d1045eef
4 changed files with 7 additions and 8 deletions
|
@ -50,7 +50,7 @@ public class PatchModuleCDS {
|
|||
"-Xlog:class+path=info",
|
||||
"-version");
|
||||
new OutputAnalyzer(pb.start())
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
|
||||
// Case 2: Test that directory in --patch-module is supported for CDS dumping
|
||||
// Create a class file in the module java.base.
|
||||
|
@ -73,7 +73,7 @@ public class PatchModuleCDS {
|
|||
"-Xlog:class+path=info",
|
||||
"-version");
|
||||
new OutputAnalyzer(pb.start())
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
|
||||
// Case 3a: Test CDS dumping with jar file in --patch-module
|
||||
BasicJarBuilder.build("javanaming", "javax/naming/spi/NamingManager");
|
||||
|
@ -87,7 +87,7 @@ public class PatchModuleCDS {
|
|||
"-Xlog:class+path=info",
|
||||
"PatchModuleMain", "javax.naming.spi.NamingManager");
|
||||
new OutputAnalyzer(pb.start())
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
.shouldContain("ro space:"); // Make sure archive got created.
|
||||
|
||||
// Case 3b: Test CDS run with jar file in --patch-module
|
||||
pb = ProcessTools.createJavaProcessBuilder(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue