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

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: P4
    • Resolution: Future Project
    • Affects Version/s: 17
    • Fix Version/s: None
    • Component/s: docs
    • Labels:
      None

      Description

      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.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: