RFR: 8311302: Allow for jlinking a custom runtime without packaged modules being present [v8]

Mandy Chung mchung at openjdk.org
Tue Nov 28 19:49:09 UTC 2023


On Tue, 28 Nov 2023 19:22:44 GMT, Mandy Chung <mchung at openjdk.org> wrote:

> The --verbose option can include the options for the plugins accumulated with the run-time image (such as --strip-debug --vendor-bug-url xxx)

I considered how to document the behavior of linking with packaged modules vs from run-time image.  For example (1) document in `--list-plugins` output, (2) via Plugin API to indicate whether accumulate with base run-time image or not.

Ultimately, we want to know the jlink command-line options if it's linked with packaged modules.   So I think `--verbose` output would serve as a good documentation.   I'd like to hear other opinions.

This probably need to extend Plugin API to indicate if this plugin will carry forward in linking from the run-time image.

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

PR Comment: https://git.openjdk.org/jdk/pull/14787#issuecomment-1830596088


More information about the core-libs-dev mailing list