On 11/10/2018 17:58, Roger Riggs wrote:
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
This looks okay and CSR captures the subtle behavioral issue and the
source compatible issue with this removal.
-Alan.