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. ------------- Commit messages: - trailing whitespace - 8352003: Support --add-opens with -XX:+AOTClassLinking Changes: https://git.openjdk.org/jdk/pull/24695/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=24695&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8352003 Stats: 169 lines in 5 files changed: 164 ins; 2 del; 3 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