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

David Holmes dholmes at openjdk.org
Fri Mar 7 07:43:53 UTC 2025


On Thu, 6 Mar 2025 17:42:04 GMT, Jiangli Zhou <jiangli at openjdk.org> wrote:

> libjsig is provided by JDK.

Yes for an application to chose to use so that its own signal usage can be better integrated with that of the JDK. Statically linking libjsig with a JDK makes no sense to me at all.

> TestPosixSig.java failure is a test problem. The test looks for the print output from os::run_periodic_checks. The periodic signal checker is disabled, when libjsig is used.

So the test fails if you have statically linked libjsig into a JDK image. My response is "don't do that".

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

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


More information about the build-dev mailing list