Integrated: 8136895: Writer not closed with disk full error, file resource leaked
Brian Burkhalter
bpb at openjdk.org
Fri Jul 21 15:23:54 UTC 2023
On Tue, 18 Apr 2023 02:03:19 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
> In`StreamEncoder::implClose`, move `flushLeftoverChar()` inside the `try` block and the closing of the underlying stream inside the `finally` block.
This pull request has now been integrated.
Changeset: d55d7e8d
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/d55d7e8d87670043dd22ec6a3fb6cc49b39000cd
Stats: 200 lines in 4 files changed: 183 ins; 10 del; 7 mod
8136895: Writer not closed with disk full error, file resource leaked
Reviewed-by: djelinski, vtewari
-------------
PR: https://git.openjdk.org/jdk/pull/13503
More information about the nio-dev
mailing list