RFR 9: 8165641 : Deprecate Object.finalize

Andrew Haley aph at redhat.com
Fri Mar 31 17:11:52 UTC 2017

On 31/03/17 18:05, Hans Boehm wrote:
> Can we add a warning that it is almost never safe to override finalize()
> without use of reachabilityFence()?

We'll have to be careful not to suggest to some people that if
you don't override finalize() then you don't need reachabilityFence().
Careful wording needed.


More information about the core-libs-dev mailing list