RFR 8192939: Remove Finalize methods from FileInputStream and FileOutputStream
Alan.Bateman at oracle.com
Thu Oct 11 17:15:23 UTC 2018
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.
This looks okay and CSR captures the subtle behavioral issue and the
source compatible issue with this removal.
More information about the core-libs-dev