RFR: 8306308: (ch) Writer created by Channels::newWriter may lose data [v9]
Brian Burkhalter
bpb at openjdk.org
Fri Oct 20 21:15:47 UTC 2023
On Fri, 20 Oct 2023 17:56:10 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
Tiers 1-3 passed.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/16207#issuecomment-1773399786
More information about the nio-dev
mailing list