With the removal of the AltFinalizer mechanism from FileInputStream and FileOutputStream in JDK-8192939, this portion of the Implementation Requirement in the class JavaDoc is no longer true:
"If this FileOutputStream has been subclassed and the close() method has been overridden, the close() method will be called when the FileInputStream is unreachable."
Related doc improvements around cleanup and finalization could also be made, such as to the close() method.
"If this FileOutputStream has been subclassed and the close() method has been overridden, the close() method will be called when the FileInputStream is unreachable."
Related doc improvements around cleanup and finalization could also be made, such as to the close() method.
- relates to
-
JDK-8192939 Remove Finalize methods from FileInputStream and FileOutputStream
- Resolved