--- a/hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java Wed Aug 09 15:03:29 2017 -0700
+++ b/hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java Wed Aug 09 23:19:43 2017 +0000
@@ -63,7 +63,9 @@
"-Xshare:on", "DumpSharedDictionary", "test");
out = CDSTestUtils.executeAndLog(pb, "exec");
- out.shouldHaveExitValue(0);
+ if (!CDSTestUtils.isUnableToMap(out)) {
+ out.shouldHaveExitValue(0);
+ }
} else {
// Grab my own PID
String pid = Long.toString(ProcessTools.getProcessId());