RFR: 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName

Brian Burkhalter bpb at openjdk.org
Wed Apr 19 23:36:39 UTC 2023


In the specification of `Channels.newReader(ReadableByteChannel,Charset)`, change `Charset.forName(csName).newDecoder()` to `charset.newDecoder()`.

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

Commit messages:
 - 8306483: (ch) Channels.newReader(ReadableByteChannel,Charset) refers to csName

Changes: https://git.openjdk.org/jdk/pull/13547/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13547&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8306483
  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 mod
  Patch: https://git.openjdk.org/jdk/pull/13547.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13547/head:pull/13547

PR: https://git.openjdk.org/jdk/pull/13547


More information about the nio-dev mailing list