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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 8
    • Affects Version/s: 8
    • Component/s: 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*.

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: