On Mon, 26 Jun 2023 09:52:10 GMT, 温绍锦 <d...@openjdk.org> wrote:
>> src/java.base/share/classes/java/util/UUID.java line 515: >> >>> 513: >>> 514: try { >>> 515: return jla.newStringNoRepl(buf, >>> StandardCharsets.ISO_8859_1); >> >> in java.base it's better to use `ISO_8859_1.INSTANCE` directly instead of >> `StandardCharsets.ISO_8859_1`. >> See [JDK-8234147](https://bugs.openjdk.org/browse/JDK-8234147) > > done I don't see that it is better and it is unnecessarily spreading around parts of the implementation of charsets that can use the public API. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/14578#discussion_r1242307186