RFR: 8352003: Support --add-opens with -XX:+AOTClassLinking [v7]

Calvin Cheung ccheung at openjdk.org
Fri Apr 25 04:23:12 UTC 2025


> This RFE allows --add-opens to be specified for AOT cache creation. AOT cache can be used during production run with --add-opens option as long as the same set of options is used during assembly phase.
> 
> Passed tiers 1 - 4 testing.

Calvin Cheung has updated the pull request incrementally with one additional commit since the last revision:

  remove call to addExtraExportsAndOpens() in ModuleBootstrap.java

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/24695/files
  - new: https://git.openjdk.org/jdk/pull/24695/files/0f28e07b..4b4d4f50

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=24695&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=24695&range=05-06

  Stats: 1 line in 1 file changed: 0 ins; 1 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/24695.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/24695/head:pull/24695

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


More information about the core-libs-dev mailing list