RFR: 8136895: Writer not closed with disk full error, file resource leaked [v3]
Brian Burkhalter
bpb at openjdk.org
Thu Apr 27 00:36:53 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: Trivial formatting corrections in tests
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/13503/files
- new: https://git.openjdk.org/jdk/pull/13503/files/181a943a..4c8ab6df
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=13503&range=02
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=13503&range=01-02
Stats: 2 lines in 2 files changed: 0 ins; 0 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