RFR: 8315968: Move java.util.Digits to jdk.internal.util and refactor to reduce duplication [v19]
Roger Riggs
rriggs at openjdk.org
Tue Sep 12 16:06:43 UTC 2023
On Tue, 12 Sep 2023 13:27:29 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> java.util.DecimalDigits::DIGITS and java.lang.StringLatin1.PACKED_DIGITS are duplicates, We need to move java.util.Digits/OctalDigits/DecimalDigits/HexDigits to the jdk.internal.util package, and modify these classes to public class, so that classes in other packages can also access them.
>>
>> DecimalDigits::DIGITS provides a new digitPair static method, used to replace StringLatin1.PACKED_DIGITS access.
>>
>> In order to be consistent with the original StringLatin1.PACKED_DIGITS, OctalDigits::DIGITS and DecimalDigits::DIGITS are modified to little-endian. HexDigits::DIGITS will also be modified after PR #14745 is merged.
>>
>> These changes will be used by PR #15658 #15555
>
> 温绍锦 has updated the pull request incrementally with one additional commit since the last revision:
>
> little-endian
Thanks for the updates.
-------------
Marked as reviewed by rriggs (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/15651#pullrequestreview-1622614379
More information about the security-dev
mailing list