Skip to content

Commit 9ce5fdc

Browse files
committed
8305421: Work around JDK-8305420 in CDSJDITest.java
Reviewed-by: cjplummer
1 parent b062b1b commit 9ce5fdc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/jdk/com/sun/jdi/cds/CDSJDITest.java

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
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

Comments
 (0)