changeset 13479:d7b4d97c61b6

Merge
author coleenp
date Wed, 09 Aug 2017 23:19:43 +0000
parents f10071d22645 6a4d5ef7331f
children 51c11afb3169 1e2ddaa6bc3a
files test/runtime/SharedArchiveFile/DumpSharedDictionary.java
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/test/runtime/SharedArchiveFile/DumpSharedDictionary.java	Wed Aug 09 15:03:29 2017 -0700
+++ b/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());