On Thu, 5 Dec 2024 14:39:58 GMT, Alan Bateman <al...@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