< prev index next >
test/hotspot/jtreg/runtime/SharedArchiveFile/CdsDifferentCompactStrings.java
Print this page
@@ -48,12 +48,12 @@
OutputAnalyzer out = CDSTestUtils.createArchive(createCompactStringsArgument);
CDSTestUtils.checkDump(out);
out = CDSTestUtils.runWithArchive(loadCompactStringsArgument);
- if (!CDSTestUtils.isUnableToMap(out)) {
+ CDSTestUtils.checkMappingFailure(out);
+
out.shouldMatch("The shared archive file's CompactStrings " +
"setting .* does not equal the current CompactStrings setting")
.shouldHaveExitValue(1);
}
- }
}
< prev index next >