RFR: 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing

Ioi Lam iklam at openjdk.java.net
Wed Nov 17 20:41:02 UTC 2021


Please fix this trivial fix. The affected test case expected the following message


-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile: 


but if we run with `jtreg -vmoption:-Xshare:off` the test case takes a different path, resulting in a different message:


Cannot have more than 1 archive file specified in -XX:SharedArchiveFile during CDS dumping


Since the latter message is already being tested in another case in SharedArchiveFileOption.java, we can simple disable this test case under this condition.

-------------

Commit messages:
 - 8277343: dynamicArchive/SharedArchiveFileOption.java failed: '-XX:+RecordDynamicDumpInfo is unsupported when a dynamic CDS archive is specified in -XX:SharedArchiveFile:' missing

Changes: https://git.openjdk.java.net/jdk/pull/6437/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=6437&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8277343
  Stats: 9 lines in 2 files changed: 4 ins; 0 del; 5 mod
  Patch: https://git.openjdk.java.net/jdk/pull/6437.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/6437/head:pull/6437

PR: https://git.openjdk.java.net/jdk/pull/6437


More information about the hotspot-runtime-dev mailing list