RFR: 8305762: FileInputStream and FileOutputStream implSpec should be corrected or removed [v3]
Brent Christian
bchristi at openjdk.org
Mon Apr 17 18:56:06 UTC 2023
> 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:
improve TWR phrasing
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13437/files
- new: https://git.openjdk.org/jdk/pull/13437/files/3adb17e2..8d8c35fa
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13437&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13437&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13437.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13437/head:pull/13437
PR: https://git.openjdk.org/jdk/pull/13437
More information about the core-libs-dev
mailing list