On Wed, 19 Mar 2025 00:29:49 GMT, David Holmes <dhol...@openjdk.org> wrote:
> @jianglizhou shouldn't these native executables be built differently to work > with the static JDK? Otherwise how does a user create a native executable > that launches the JVM? I think it's the case of using customized launcher and we need to implement new tests to cover for the static support. The test needs to build native (testing launcher) executable by statically linking with the needed JDK and VM static libraries. We haven't discussed this topic in the hermetic Java meetings yet. I think some build system work is needed so the JDK/VM static libraries would also be built when creating the test native binaries. We probably want to add a new `test-static-image` for that purpose, so building the existing `test-image` target is not affected and does not require the static libraries. I'll create a new RFE for this. ------------- PR Comment: https://git.openjdk.org/jdk/pull/24103#issuecomment-2735042103