RFR: 8305902: (cs) Resolve default Charset only once in StreamEncoder and StreamDecoder [v2]

Brian Burkhalter bpb at openjdk.org
Wed Apr 12 17:36:34 UTC 2023


On Wed, 12 Apr 2023 12:47:22 GMT, Sergey Tsypanov <stsypanov at openjdk.org> wrote:

>> If `charsetName` passed into `forOutputStreamWriter()` method is null then `Charset.forName()` is redundant as we can use already resolved default Charset.
>
> Sergey Tsypanov has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Further clean-up

Marked as reviewed by bpb (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/13443#pullrequestreview-1381797591


More information about the nio-dev mailing list