Skip to content

Commit 8e971f5

Browse files
i556354GoeLin
authored andcommitted
8305421: Work around JDK-8305420 in CDSJDITest.java
Reviewed-by: goetz Backport-of: 9ce5fdc96262ac80c5a2ac2d51a149408d3d727a
1 parent e243129 commit 8e971f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (c) 2013, 2018, 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
@@ -73,7 +73,7 @@ public static void runTest(String testname, String[] jarClasses) throws Exceptio
7373
"-XX:+UnlockDiagnosticVMOptions", "-XX:SharedArchiveFile=./SharedArchiveFile.jsa",
7474
"-XX:ExtraSharedClassListFile=" + jarClasslistFile.getPath(),
7575
"-Xshare:dump");
76-
OutputAnalyzer outputDump = executeAndLog(pb, "exec");
76+
OutputAnalyzer outputDump = executeAndLog(pb, "dump");
7777
for (String jarClass : jarClasses) {
7878
outputDump.shouldNotContain("Cannot find " + jarClass);
7979
}

0 commit comments

Comments
 (0)