On Wed, 3 Apr 2024 22:31:39 GMT, Mandy Chung <mch...@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

Reply via email to