RFR: 8311302: Allow for jlinking a custom runtime without packaged modules being present [v23]
Severin Gehwolf
sgehwolf at openjdk.org
Thu Apr 4 07:49:19 UTC 2024
On Wed, 3 Apr 2024 22:31:39 GMT, Mandy Chung <mchung at openjdk.org> wrote:
> Thanks for the investigation w.r.t. extending jimage. It does not seem worth the effort in pursuing the support of adding resources to an existing jimage file. To me, putting the diff data under `lib` directory as a private file is a simpler and acceptable solution. It allows the second jlink invocation to avoid the plugin pipeline if the per-module metadata is generated in normal jlink invocation.
Agreed. I'm pushing an update of the patch later today which does this. There is only one jlink call producing the final `jdk` image. That image is then amended to add the delta file under `lib`. The file is generated as a build step.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/14787#issuecomment-2036428963
More information about the build-dev
mailing list