RFR: 8136895: Writer not closed with disk full error, file resource leaked [v5]
Brian Burkhalter
bpb at openjdk.org
Mon Jul 17 17:52:42 UTC 2023
> In`StreamEncoder::implClose`, move `flushLeftoverChar()` inside the `try` block and the closing of the underlying stream inside the `finally` block.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
8136895: Remove vestigial explicit calls to close() in implClose()
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13503/files
- new: https://git.openjdk.org/jdk/pull/13503/files/d1965996..a400b04e
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13503&range=04
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13503&range=03-04
Stats: 9 lines in 1 file changed: 0 ins; 7 del; 2 mod
Patch: https://git.openjdk.org/jdk/pull/13503.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/13503/head:pull/13503
PR: https://git.openjdk.org/jdk/pull/13503
More information about the nio-dev
mailing list