Why is finalize wrong?
mark.reinhold at oracle.com
mark.reinhold at oracle.com
Wed Sep 3 14:49:05 UTC 2014
2014/9/3 2:58 -0700, aph at redhat.com:
> ...
>
> As Jarolsav put it, "I don't think this is explainable to regular Java
> developers." As David Lloyd put it, "If you still think that finalize
> is a good idea, given that it's basically defective *and* there is
> almost always a better solution, then I will be quite astounded." As
> I put it, "finalize is broken."
Indeed -- I couldn't have said it better myself!
- Mark
More information about the core-libs-dev
mailing list