> Some codes in core libs are duplicated, including: > java.util.DecimalDigits::DIGITS -> java.lang.StringLatin1.PACKED_DIGITS > java.util.DecimalDigits::size -> java.lang.Long.stringSize > > We can reduce duplication through JavaLangAccess, which is also needed in > other places, such as: > https://github.com/openjdk/jdk/pull/15555
温绍锦 has updated the pull request incrementally with three additional commits since the last revision: - revert stringSize refactor - revert stringSize refactor - restore the order of OctalDigits methods ------------- Changes: - all: https://git.openjdk.org/jdk/pull/15651/files - new: https://git.openjdk.org/jdk/pull/15651/files/2b909d96..9bf9f787 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=15651&range=10 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=15651&range=09-10 Stats: 212 lines in 8 files changed: 108 ins; 83 del; 21 mod Patch: https://git.openjdk.org/jdk/pull/15651.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/15651/head:pull/15651 PR: https://git.openjdk.org/jdk/pull/15651