Merge
authorcoleenp
Wed, 09 Aug 2017 23:19:43 +0000
changeset 46782 0405d7196df4
parent 46780 50dca6b8294e (current diff)
parent 46781 81d54b338660 (diff)
child 46785 ba5420d60314
child 46786 6eb16341d52b
Merge
hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java
--- 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());