JDK-4468529 : -Xrs does not work properly on Win32
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 1.4.0
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • OS: windows_nt
  • CPU: x86
  • Submitted: 2001-06-11
  • Updated: 2002-05-16
  • Resolved: 2001-06-27
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other Other
1.3.1_01 01Fixed 1.4.0Fixed
Related Reports
Relates :  
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.

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: 1.3.1_01 merlin-beta2 FIXED IN: 1.3.1_01 merlin-beta2 INTEGRATED IN: 1.3.1_01 merlin-beta2 VERIFIED IN: 1.3.1_01a
14-06-2004

EVALUATION The Win32 implementation of JVM_RegisterSignal now skips registering signal handlers for the shutdown hook signals (SIGINT and SIGTERM on Win32). This was already being done for the Unix versions of this routine. kenneth.russell@eng 2001-06-12
12-06-2001