RFR: 8306308: (ch) Writer created by Channels::newWriter may lose data [v9]
Daniel Jeliński
djelinski at openjdk.org
Fri Oct 20 17:56:10 UTC 2023
On Fri, 20 Oct 2023 17:52:36 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> Change `Channels.newWriter` to return a `Writer` created by first wrapping the `WritableByteChannel` in an `OutputStream` using `Channels.newOutputStream` and then wrapping the result in an `OutputStreamWriter`. With this change in place, the problems reported in the issue do not occur.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
>
> 8306308: Make EXPECTED less unexpected
Marked as reviewed by djelinski (Reviewer).
-------------
PR Review: https://git.openjdk.org/jdk/pull/16207#pullrequestreview-1690640428
More information about the nio-dev
mailing list