Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-2044420 | 1.4.0 | Kenneth Russell | P2 | Closed | Fixed | beta2 |
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.
-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.
- backported by
-
JDK-2044420 -Xrs does not work properly on Win32
- Closed
- relates to
-
JDK-4323062 Any Windows NT Service embedding Java VM aborts, when user logs out from Windows
- Closed