11/*
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.
33 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
44 *
55 * 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
6161 // pass them as JVM arguments to the debuggee process it creates.
6262 "-Xbootclasspath/a:" + appJar ,
6363 "-XX:+UnlockDiagnosticVMOptions" ,
64- "-Xlog:class+path=info" ,
6564 "-XX:SharedArchiveFile=./SharedArchiveFile.jsa" ,
6665 "-Xshare:on" ,
6766 "-showversion"
@@ -73,7 +72,7 @@ public static void runTest(String testname, String[] jarClasses) throws Exceptio
7372 "-XX:+UnlockDiagnosticVMOptions" , "-XX:SharedArchiveFile=./SharedArchiveFile.jsa" ,
7473 "-XX:ExtraSharedClassListFile=" + jarClasslistFile .getPath (),
7574 "-Xshare:dump" , "-Xlog:cds" );
76- OutputAnalyzer outputDump = executeAndLog (pb , "exec " );
75+ OutputAnalyzer outputDump = executeAndLog (pb , "dump " );
7776 for (String jarClass : jarClasses ) {
7877 outputDump .shouldNotContain ("Cannot find " + jarClass );
7978 }
0 commit comments