|
Quick Lists
|
|
Bug ID:
|
4468529
|
|
Votes
|
0
|
|
Synopsis
|
-Xrs does not work properly on Win32
|
|
Category
|
hotspot:runtime_system
|
|
Reported Against
|
merlin-beta
|
|
Release Fixed
|
1.3.1_01,
1.4(merlin-beta2) (Bug ID:2044420)
|
|
State
|
10-Fix Delivered,
Verified,
bug
|
|
Priority:
|
2-High
|
|
Related Bugs
|
4323062
|
|
Submit Date
|
11-JUN-2001
|
|
Description
|
Bug originally reported by Olli Blackburn < xxxxx@xxxxx >.
-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.
|
|
Work Around
|
N/A
|
|
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.
xxxxx@xxxxx 2001-06-12
|
|
Comments
|
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|
|
|
 |