RFR: 8311302: Allow for jlinking a custom runtime without packaged modules being present [v23]
Severin Gehwolf
sgehwolf at openjdk.org
Thu Mar 21 15:37:35 UTC 2024
On Thu, 21 Mar 2024 15:28:23 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
>>> First question, do this class really need to be in a separate module? (I'm afraid the answer is "yes" but I need to ask it anyway).
>>
>> Yes, because it uses the `Plugin` ServiceLoader extension using the boot ModuleLayer. But it's going to be a moot point because this'll get reworked due to concerns raised by @mlchung (having the plugin pipeline running when producing a linkable runtime jimage).
>
> Ok, fine. Will the new solution still include a build-time only tool?
Yes, but I'll likely go with the interim solution and that would only require the a single "driver" class in the build tree with a `main` method.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/14787#discussion_r1534158026
More information about the core-libs-dev
mailing list