RFR: 8345259: When linking from the run-time image ALL-MODULE-PATH is not accepted
Severin Gehwolf
sgehwolf at openjdk.org
Fri Dec 6 09:33:38 UTC 2024
On Thu, 5 Dec 2024 14:39:58 GMT, Alan Bateman <alanb 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.
Originally I hadn't intended to do that, but I can add this. Should I do it in this bug or a separate one? I would think that this change of behaviour would need a CSR?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/22494#issuecomment-2522640930
More information about the core-libs-dev
mailing list