RFR: 4670339: (ch) Channels.newChannel(OutputStream) should flush stream on every write [v2]

Brian Burkhalter bpb at openjdk.org
Wed Apr 5 23:08:21 UTC 2023


On Tue, 28 Mar 2023 17:06:39 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> Call `flush()` on the `OutputStream` before returning from `WritableByteChannelImpl::write`.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   4670339: Make WritableByteChannelImpl Flushable; add newChannel(OutputStream,boolean)

Withdrawing this pull request as the requested functionality is easily enough to implement outside the JDK as illustrated by the example code in the associated issue [JDK-4670339](https://bugs.openjdk.org/browse/JDK-4670339)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/13198#issuecomment-1498264633


More information about the nio-dev mailing list