RFR: 8315968: Consolidate java.util.Digits and StringLatin1::PACKED_DIGITS [v19]

Roger Riggs rriggs at openjdk.org
Tue Sep 12 13:51:40 UTC 2023


On Tue, 12 Sep 2023 13:27:29 GMT, 温绍锦 <duke at openjdk.org> wrote:

>> 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 one additional commit since the last revision:
> 
>   little-endian

Please update this PR title and description to indicate this refactoring to move to jdk.internal.util.
I can update the Jira title and description to match after that.

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

PR Comment: https://git.openjdk.org/jdk/pull/15651#issuecomment-1715764494



More information about the security-dev mailing list