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

-Xrs does not work properly on Win32

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 1.3.1_01
    • 1.4.0
    • hotspot
    • 01
    • x86
    • windows_nt
    • Verified

        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.

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

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: