[concurrency-interest] Object finalization

Bob Lee crazybob at crazybob.org
Tue May 15 14:38:58 EDT 2012


On Tue, May 15, 2012 at 1:06 AM, Dr Heinz M. Kabutz <
heinz at javaspecialists.eu> wrote:

> **
> The finalizer definitely runs even if the constructor fails (in other
> words, throws an exception).
>

The fact that the finalizer runs even when the constructor fails was a
security hole:
http://www.ibm.com/developerworks/java/library/j-fv/index.html?ca=drs-

I think it was fixed awhile ago, but the bug report isn't visible to me, I
presume for security reasons:
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=5092933

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20120515/1b091de6/attachment.html>


More information about the Concurrency-interest mailing list