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

Chen Liang liach at openjdk.org
Tue Sep 12 00:52:52 UTC 2023


On Tue, 12 Sep 2023 00:06:41 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 refreshed the contents of this pull request, and previous commits have been removed. The incremental views will show differences compared to the previous content of the PR. The pull request contains one new commit since the last revision:
> 
>   rebase & resolve DecimalDigits delete and add

Marked as reviewed by liach (Author).

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

PR Review: https://git.openjdk.org/jdk/pull/15651#pullrequestreview-1621068014


More information about the security-dev mailing list