Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4954921

(ref) If a cleaner throws an exception then the VM should exit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 5.0
    • 5.0
    • core-libs
    • b32
    • generic
    • generic

      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

            mr Mark Reinhold
            mr Mark Reinhold
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: