1
1
/*
2
- * Copyright (c) 2013, 2020 , Oracle and/or its affiliates. All rights reserved.
2
+ * Copyright (c) 2013, 2023 , Oracle and/or its affiliates. All rights reserved.
3
3
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
4
4
*
5
5
* This code is free software; you can redistribute it and/or modify it
@@ -61,7 +61,6 @@ public static void runTest(String testname, String[] jarClasses) throws Exceptio
61
61
// pass them as JVM arguments to the debuggee process it creates.
62
62
"-Xbootclasspath/a:" + appJar ,
63
63
"-XX:+UnlockDiagnosticVMOptions" ,
64
- "-Xlog:class+path=info" ,
65
64
"-XX:SharedArchiveFile=./SharedArchiveFile.jsa" ,
66
65
"-Xshare:on" ,
67
66
"-showversion"
@@ -73,7 +72,7 @@ public static void runTest(String testname, String[] jarClasses) throws Exceptio
73
72
"-XX:+UnlockDiagnosticVMOptions" , "-XX:SharedArchiveFile=./SharedArchiveFile.jsa" ,
74
73
"-XX:ExtraSharedClassListFile=" + jarClasslistFile .getPath (),
75
74
"-Xshare:dump" , "-Xlog:cds" );
76
- OutputAnalyzer outputDump = executeAndLog (pb , "exec " );
75
+ OutputAnalyzer outputDump = executeAndLog (pb , "dump " );
77
76
for (String jarClass : jarClasses ) {
78
77
outputDump .shouldNotContain ("Cannot find " + jarClass );
79
78
}
0 commit comments