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

Brian Burkhalter bpb at openjdk.org
Mon Apr 17 15:33:41 UTC 2023


On Fri, 14 Apr 2023 22:27:26 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.
>
> Brent Christian has updated the pull request incrementally with one additional commit since the last revision:
> 
>   updates, per review comments

Marked as reviewed by bpb (Reviewer).

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

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


More information about the core-libs-dev mailing list