On Tue, 11 Apr 2023 23:55:50 GMT, Brent Christian <bchri...@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. This pull request has now been integrated. Changeset: bb1a7bb3 Author: Brent Christian <bchri...@openjdk.org> URL: https://git.openjdk.org/jdk/commit/bb1a7bb3e15096fbdb5d3cc28db09fd486a6ba03 Stats: 30 lines in 2 files changed: 0 ins; 12 del; 18 mod 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed Reviewed-by: kbarrett, alanb, bpb ------------- PR: https://git.openjdk.org/jdk/pull/13437