RFR: 8356597: AOT cache and CDS archive should not be created in read-only mode

Ioi Lam iklam at openjdk.org
Fri May 9 06:25:29 UTC 2025


For some unknown historical reasons, AOT caches and CDS archives have been created in read-only mode. This makes them hard to delete, causing problems when running tests that creates a lot of these files.

Since all other JDK tools create binary files in read-write mode, AOT caches and CDS archives should do the same.

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

Commit messages:
 - 8356597: AOT cache and CDS archive should not be created in read-only mode

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

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


More information about the hotspot-runtime-dev mailing list