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:49:54 GMT, Magnus Ihse Bursie <ihse at openjdk.org> wrote:
> I meant more like "not supported". You are correct that it is technically possible.
>
> How useful is signal chaining even these days?
>
> While we could do something like this, I see more trouble ahead. How should we do when we put the static libs in a jmod? Should all static libraries have an "optional/required" flag attached to them? How do the user select if libjsig should be included or not?
>
> I would argue that for the time being, it is better to set libjsig as `ONLY_EXPORTED`, and if/when we get back to revisit this, we can start compiling it always, and then we will also have a story on how to test it, how to handle it in jmods, etc, including perhaps a better idea on how important it is to have signal chaining for static builds.
I think I could be convinced, but it probably not a decision could be made by just us. :-) I think it would require broader discussion and decision making on if the JDK signal chaining provided by libjsig should be supported on static JDK. That decision probably should be made as part of a JEP process when we move to that step.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/23924#issuecomment-2704744091
More information about the build-dev
mailing list