Ref:
https://docs.oracle.com/en/java/javase/15/vm/signal-chaining.html#GUID-CB49A2A7-2A9F-4C18-948F-6D4A96FF688D
The deprecated sigset/signal usage has now been removed so the docs need updating:
1. Remove the deprecation note added underJDK-8257645
2. Replace the sentence
This library ensures that calls such as signal(), sigset(), and sigaction() are intercepted and don’t replace the signal handlers that are used by the HotSpot VM, if the handlers conflict with the signal handlers that are already installed by HotSpot VM.
with
This library ensures that calls to sigaction() are intercepted and don’t replace the signal handlers that are used by the HotSpot VM, if the handlers conflict with the signal handlers that are already installed by HotSpot VM.
3. Replace the sentence:
The interposed signal() , sigset() , and sigaction() calls return the saved signal handlers, not the signal handlers installed by the HotSpot VM and are seen by the operating system.
with
The interposed sigaction() call returns the saved signal handler, not the signal handler installed by the HotSpot VM and seen by the operating system.
https://docs.oracle.com/en/java/javase/15/vm/signal-chaining.html#GUID-CB49A2A7-2A9F-4C18-948F-6D4A96FF688D
The deprecated sigset/signal usage has now been removed so the docs need updating:
1. Remove the deprecation note added under
2. Replace the sentence
This library ensures that calls such as signal(), sigset(), and sigaction() are intercepted and don’t replace the signal handlers that are used by the HotSpot VM, if the handlers conflict with the signal handlers that are already installed by HotSpot VM.
with
This library ensures that calls to sigaction() are intercepted and don’t replace the signal handlers that are used by the HotSpot VM, if the handlers conflict with the signal handlers that are already installed by HotSpot VM.
3. Replace the sentence:
The interposed signal() , sigset() , and sigaction() calls return the saved signal handlers, not the signal handlers installed by the HotSpot VM and are seen by the operating system.
with
The interposed sigaction() call returns the saved signal handler, not the signal handler installed by the HotSpot VM and seen by the operating system.
- relates to
-
JDK-8344622 VM Guide: Deprecation of signal chaining functions was removed starting JDK 19
-
- In Progress
-