RFR: 8351309: test/hotspot/jtreg/runtime/posixSig/TestPosixSig.java fails on static-jdk

Jiangli Zhou jiangli at openjdk.org
Thu Mar 6 19:26:58 UTC 2025


On Thu, 6 Mar 2025 18:57:48 GMT, Henry Jen <henryjen at openjdk.org> wrote:

> 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.

Right. And, I think we should not enable that by default to keep the same behavior as on regular JDK.

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

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


More information about the build-dev mailing list