OpenJDK / jdk / hs
changeset 46782:0405d7196df4
Merge
author | coleenp |
---|---|
date | Wed, 09 Aug 2017 23:19:43 +0000 |
parents | 50dca6b8294e 81d54b338660 |
children | ba5420d60314 6eb16341d52b |
files | hotspot/test/runtime/SharedArchiveFile/DumpSharedDictionary.java |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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());