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

Reply via email to