RFR: 4619075: (ch) newChannel() should return Gathering/ScatteringByteChannel [v4]
Brian Burkhalter
bpb at openjdk.java.net
Wed Oct 20 16:40:43 UTC 2021
> Modify `Channels.newChannel(InputStream)` and `Channels.newChannel(OutputStream)` to return `ScatteringByteChannel` and `GatheringByteChannel`, respectively.
Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
4619075: Move read-only check to before read loop
-------------
Changes:
- all: https://git.openjdk.java.net/jdk/pull/5922/files
- new: https://git.openjdk.java.net/jdk/pull/5922/files/e06b2149..70cb65ef
Webrevs:
- full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5922&range=03
- incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5922&range=02-03
Stats: 8 lines in 1 file changed: 4 ins; 4 del; 0 mod
Patch: https://git.openjdk.java.net/jdk/pull/5922.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/5922/head:pull/5922
PR: https://git.openjdk.java.net/jdk/pull/5922
More information about the nio-dev
mailing list