Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8257643 Remove the archaic signal-chaining interfaces: sigset and signal
  3. JDK-8257653

VM Guide: Update signal chaining information to remove reference to sigset/signal

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Future Project
    • Icon: P4 P4
    • None
    • 17
    • docs
    • None

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

            Unassigned Unassigned
            dholmes David Holmes
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: