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

Brian Burkhalter bpb at openjdk.java.net
Wed Oct 13 21:05:26 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: Add @since tags to new methods

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/5922/files
  - new: https://git.openjdk.java.net/jdk/pull/5922/files/0a4ff249..e06b2149

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=5922&range=02
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=5922&range=01-02

  Stats: 9 lines in 1 file changed: 4 ins; 0 del; 5 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