JDK-4954921 : (ref) If a cleaner throws an exception then the VM should exit
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.lang
  • Affected Version: 5.0
  • Priority: P2
  • Status: Resolved
  • Resolution: Fixed
  • OS: generic
  • CPU: generic
  • Submitted: 2003-11-16
  • Updated: 2003-12-19
  • Resolved: 2003-12-19
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
5.0 b32Fixed
Related Reports
Relates :  
Relates :  
Description
If the run method of an instance of the sun.misc.Cleaner class throws an
exception then the reference-handler thread terminates but the VM continues to
run.  This situation should instead be treated as a catastrophic error and the
VM should terminate with an appropriate exit code.

An alternative approach would be to print the exception's stack trace and
continue, but this is less desirable because if a cleaner throws an exception
then something is very seriously wrong.

-- ###@###.### 2003/11/15

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: tiger-beta FIXED IN: tiger-beta INTEGRATED IN: tiger-b32 tiger-beta
14-06-2004

EVALUATION Yes. -- ###@###.### 2003/11/17
11-11-0183