RFR: 8303796: Optionally build fully statically linked JDK image

Alan Bateman alanb at openjdk.org
Mon May 1 05:52:22 UTC 2023


On Sun, 30 Apr 2023 18:53:40 GMT, Jorn Vernee <jvernee at openjdk.org> wrote:

> It seems that letting jlink do the linking is also a requirement for user provided modules (.jmods) that contain native libraries (as is the case for instance with jextract). We don't know about those libraries when building the JDK.

For now yes, but if there are further steps to have it create a single executable then the classes/resources will also be included. So I think pure Java modules will also be in this picture, eventually.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13709#issuecomment-1529373589



More information about the build-dev mailing list