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

Daniel Jeliński djelinski at openjdk.org
Thu Apr 20 06:01:43 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()`.

There's a similar situation in docs for newWriter, line 593, could you change that as well?

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

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


More information about the nio-dev mailing list