RFR 8192939: Remove Finalize methods from FileInputStream and FileOutputStream

Roger Riggs Roger.Riggs at oracle.com
Thu Oct 11 16:58:27 UTC 2018


The finalizer methods of FileInputStream and FileOutputStream were 
deprecated for removal
in JDK 9 and its time to remove them and the alternate mechanism to call 
close
when the streams are found to be unreachable.  The Cleaner has been used 
since JDK 9 to
close file descriptors that become unreferenced.

Webrev:
http://cr.openjdk.java.net/~rriggs/webrev-io-finalize-8192939/index.html

CSR:
   https://bugs.openjdk.java.net/browse/JDK-8212050

Thanks, Roger



More information about the core-libs-dev mailing list