RFR: 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed

Kim Barrett kbarrett at openjdk.org
Fri Apr 14 05:03:32 UTC 2023


On Tue, 11 Apr 2023 23:55:50 GMT, Brent Christian <bchristi at openjdk.org> wrote:

> With the removal of the AltFinalizer mechanism from `FileInputStream` and `FileOutputStream` in [JDK-8192939](https://bugs.openjdk.org/browse/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."
> 
> The class doc, and the doc for close(), are updated to correctly reflect current behavior, and guidance for subclasses is clarified.

Looks good.

-------------

Marked as reviewed by kbarrett (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/13437#pullrequestreview-1384600764


More information about the core-libs-dev mailing list