RFR: 4619075: (ch) newChannel() should return Gathering/ScatteringByteChannel

Alan Bateman alanb at openjdk.java.net
Thu Oct 14 14:07:48 UTC 2021


On Wed, 13 Oct 2021 16:26:38 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Unfortunately you are correct; I thought I had tested that. In any case, this PR can either be withdrawn, or the proposal changed to add to `Channels` the methods `newGatheringByteChannel` and `newScatteringByteChannel`.

Okay, we need to think through whether how useful they might be. There are several other API options here.

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

PR: https://git.openjdk.java.net/jdk/pull/5922


More information about the nio-dev mailing list