RFR: 8310047: Add UTF-32 based Charsets into StandardCharsets

ExE Boss duke at openjdk.org
Wed Jun 21 18:58:04 UTC 2023


On Wed, 21 Jun 2023 17:24:19 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> To make UTF-32 consistent with other UTF Charsets, making them available as `StandardCharsets`. A CSR has also been drafted.

test/jdk/java/nio/charset/StandardCharsets/Standard.java line 45:

> 43:         "US-ASCII", "ISO-8859-1", "UTF-8",
> 44:         "UTF-16BE", "UTF-16LE", "UTF-16",
> 45:         "UTF-32BE", "UTF-32LE", "UTF-32" };

Maybe add a newline after the last item?
Suggestion:

        "UTF-32BE", "UTF-32LE", "UTF-32",
    };

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

PR Review Comment: https://git.openjdk.org/jdk/pull/14599#discussion_r1237448986


More information about the nio-dev mailing list