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

Jiangli Zhou jiangli at openjdk.org
Thu Mar 6 18:32:51 UTC 2025


On Thu, 6 Mar 2025 18:15:06 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:

> But if we do not link it with the launcher, it will not get tested. I don't think it is a good idea to provide a binary that have not even had a shred of testing. I'm rather leaning towards saying that signal chaining is not possible for a static JDK.

Signal chaining works on static. So I don't think we should say it's not possible. :-)

I had some thoughts on testing earlier. For testing we want to create a test that builds a hermetic image (when supported in mainline) that statically links with the libjsig.a, to exercise the signal chaining in that combination.  We should create a bug for that so we don't forget.

The main point is that we don't want to test with signal chaining enabled by default on static JDK.

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

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


More information about the build-dev mailing list