RFR: 8316150: Refactor get chars and string size

Jim Laskey jlaskey at openjdk.org
Mon Oct 16 16:18:06 UTC 2023


On Wed, 13 Sep 2023 01:24:05 GMT, Shaojin Wen <duke at openjdk.org> wrote:

> 1. Reduce duplicate stringSize code
> 2. Move java.lang.StringLatin1.getChars to jdk.internal.util.DecimalDigits::getCharLatin1,not only java.lang, other packages also need to use this method

Changes requested by jlaskey (Reviewer).

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

PR Review: https://git.openjdk.org/jdk/pull/15699#pullrequestreview-1639826354


More information about the core-libs-dev mailing list