On Wed, 5 Mar 2025 22:59:06 GMT, Jiangli Zhou <jian...@openjdk.org> wrote:

> Please review this PR that excludes `libjsig` from being statically linked 
> with `static-jdk` `java` launcher by default. Please see details in 
> https://bugs.openjdk.org/browse/JDK-8351309 description and comments. Thanks

IIUC, signal chaining is a link time question for native executable using 
hotspot(launchers), the `java` launcher in regular JDK build is disabled by 
default unless user preload the libjsig.

So, for the future jmod to support static linking, it could include libjsig.a 
or leave it out and have user to explicit download and link their native 
application.

As for the `java` launcher in hermetic java, we need to decide whether we want 
to support signal chaining by default, and update the test accordingly.

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

PR Comment: https://git.openjdk.org/jdk/pull/23924#issuecomment-2704694954

Reply via email to