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
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
- relates to
-
JDK-4938372 (fs) Overlapping mapped files cannot be unmapped (windows)
-
- Closed
-
-
JDK-6521677 (fc) "Cleaner terminated abnormally" error in simple mapping test
-
- Closed
-
-
JDK-8336329 Add an internal Java-callable function to raise a fatal error
-
- New
-