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

Javadoc for j.l.Object.finalize() vs JLS 12.6 Finalization of Class Instances

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P4 P4
    • 8
    • 8
    • core-libs
    • b23
    • generic
    • generic
    • Verified

      Please note the following minor discrepancy:
      http://download.oracle.com/javase/7/docs/api/java/lang/Object.html#finalize%28%29
        Any exception thrown by the finalize method causes the finalization of this object to be *halted*, but is otherwise ignored.

      JLS 12.6:
        If an uncaught exception is thrown during the finalization, the exception is ignored and finalization of that object *terminates*.

            darcy Joe Darcy
            ygaevsky Yuri Gaevsky (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: