hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java
changeset 46781 81d54b338660
parent 46747 7b6570052b58
child 46782 0405d7196df4
--- a/hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java	Wed Aug 09 17:27:42 2017 +0200
+++ b/hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java	Wed Aug 09 18:51:44 2017 -0400
@@ -62,7 +62,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());