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

Alan Bateman alanb at openjdk.org
Thu Apr 20 06:14:45 UTC 2023


On Wed, 19 Apr 2023 23:28:03 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

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

Marked as reviewed by alanb (Reviewer).

Looks okay. It would be good to check the other methods in case the same issue exists.

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

PR Review: https://git.openjdk.org/jdk/pull/13547#pullrequestreview-1393266175
PR Review: https://git.openjdk.org/jdk/pull/13547#pullrequestreview-1393266949


More information about the nio-dev mailing list