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

温绍锦 duke at openjdk.org
Sun Sep 10 18:46:24 UTC 2023


On Sun, 10 Sep 2023 18:08:44 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> 温绍锦 has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   move java.util.DecimalDigits to jdk.internal.util.DecimalDigits
>
> src/java.base/share/classes/java/util/Digits.java line 36:
> 
>> 34:  * @since 21
>> 35:  */
>> 36: sealed interface Digits permits HexDigits, OctalDigits {
> 
> Don't break up the trio, move all three classes and the interface to jdk.internal.util.
> I don't see the value in the INSTANCE values but keep it intact.

HexDigits I will change after the PR #14745 is merged,  Can you add comment /sponsor for me?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/15651#discussion_r1320843201



More information about the security-dev mailing list