Re: Fwd: Re: RFR 8080225 FileInput/OutputStream/FileChannel cleanup should be improved

2017-12-04 Thread Roger Riggs
Hi Peter, I'd like to keep the code recognizably simple; (in the absence of a known performance issue). It would be interesting to know how the streams versions compares to the exception versions. Something for a rainy day... Roger On 12/4/2017 8:29 AM, Peter Levart wrote: Sending previous

Fwd: Re: RFR 8080225 FileInput/OutputStream/FileChannel cleanup should be improved

2017-12-04 Thread Peter Levart
Sending previous message to the list also (forgot to mention it in CC)... Hi Rogger, Interesting approach. Conditional finalization. You use finalization to support cases where user overrides finalize() and/or close() and Cleaner when he doesn't. I wonder if it is the right thing to use AltFina