8264429: Test runtime/cds/appcds/VerifyWithDefaultArchive.java assumes OpenJDK build

Reviewed-by: dcubed, shade
This commit is contained in:
Yi Yang 2021-03-30 14:45:55 +00:00 committed by Daniel D. Daugherty
parent 2c9365d79c
commit b65219881d

View File

@ -38,7 +38,7 @@ public class VerifyWithDefaultArchive {
public static void main(String... args) throws Exception {
ProcessBuilder pb = ProcessTools.createJavaProcessBuilder("-Xlog:cds", "-XX:+VerifySharedSpaces", "-version");
OutputAnalyzer out = new OutputAnalyzer(pb.start());
out.shouldContain("OpenJDK");
out.shouldNotContain("relocation bitmap CRC error");
out.shouldHaveExitValue(0);
}
}