RFR 9: 8138696 : java.lang.ref.Cleaner - an easy to use alternative to finalization

Alan Bateman Alan.Bateman at oracle.com
Wed Oct 14 14:23:10 UTC 2015


On 14/10/2015 15:03, Roger Riggs wrote:
> Hi Alan,
>
> So any user of the Cleaner can take advantage of the mechanism, for 
> example in a different package or module.
> For example, Netbeans.
Cleaner + Cleanable need to be public of course so maybe we should wait 
for the examples that extend WeakCleanableRef or cast the Cleanable to a 
WeakCleanableRef before seeing if this is the right thing or not.

-Alan



More information about the core-libs-dev mailing list