> 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
温绍锦 has updated the pull request incrementally with one additional commit since the last revision: refactor HexDigits & OctalDigits & FormatItem, FormatItem#prepend provides two implementations: prependLatin1 and prependUTF16 ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15699/files - new: https://git.openjdk.org/jdk/pull/15699/files/97c7f025..f1cb9fd7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15699&range=07 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15699&range=06-07 Stats: 293 lines in 7 files changed: 163 ins; 82 del; 48 mod Patch: https://git.openjdk.org/jdk/pull/15699.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15699/head:pull/15699 PR: https://git.openjdk.org/jdk/pull/15699