Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4468529

-Xrs does not work properly on Win32

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.3.1_01
    • Component/s: hotspot
    • Labels:
    • Subcomponent:
    • Resolved In Build:
      01
    • CPU:
      x86
    • OS:
      windows_nt
    • Verification:
      Verified

      Backports

        Description

        Bug originally reported by Olli Blackburn <###@###.###>.

        -Xrs was intended to be a platform-independent mechanism for disabling as much
        as possible the JVM's installation of signals, specifically to disable the
        installation of signal handlers for Ctrl-Break/SIGQUIT thread dumps and shutdown
        hooks. See 4323062 for more information. Part of the bug fix on the Unix side
        involved the disabling of signal handler installation for SIGINT, SIGHUP, and
        SIGTERM via JVM_RegisterSignal. While fixing 4323062, the same disabling (but
        only for SIGINT and SIGTERM) was neglected for Win32; this causes applications
        which register a ConsoleCtrlHandler for Ctrl-C to fail to receive the
        CTRL_C_EVENT, because the OS installs a console control handler behind the
        scenes for these signals after the JVM is initialized and after the user's
        handler is installed.

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                kbr Kenneth Russell (Inactive)
                Reporter:
                kbr Kenneth Russell (Inactive)
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: