RFR: 8345259: When linking from the run-time image ALL-MODULE-PATH is not accepted

Alan Bateman alanb at openjdk.org
Thu Dec 5 14:42:38 UTC 2024


On Tue, 3 Dec 2024 18:51:04 GMT, Severin Gehwolf <sgehwolf at openjdk.org> wrote:

> Abort the link with an appropriate error when ALL-MODULE-PATH is being used and a link from the run-time image is used but no module path given (--module-path arg missing).

Just to double check, with the default build, then `jlink --add-modules ALL-MODULE-PATH --output myimage` would fail because the module path hasn't been specified. No difference between default and --generate-linkable-runtime build. It would be a change in behaviour but I think the right thing to do.

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

PR Comment: https://git.openjdk.org/jdk/pull/22494#issuecomment-2520506257


More information about the core-libs-dev mailing list