RFR: 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java

Matias Saavedra Silva matsaave at openjdk.org
Wed May 10 20:45:04 UTC 2023


ArchiveConsistency.java is meant to check for the corruption of a CDS archive file, yet it checks for "warning: -XX:+AutoCreateSharedArchive is unsupported when base CDS archive is not loaded." These test cases should be moved to SharedArchiveFileOption.java instead. Verified with tier1-5 tests.

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

Commit messages:
 - 8281715: Move "base CDS archive not loaded" tests to SharedArchiveFileOption.java

Changes: https://git.openjdk.org/jdk/pull/13911/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13911&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8281715
  Stats: 51 lines in 2 files changed: 24 ins; 27 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/13911.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13911/head:pull/13911

PR: https://git.openjdk.org/jdk/pull/13911


More information about the hotspot-runtime-dev mailing list