RFR: 8367324: Avoid redundant parsing when formatting with DigitList [v3]

Raffaello Giulietti rgiulietti at openjdk.org
Wed Sep 24 09:51:27 UTC 2025


On Sun, 14 Sep 2025 04:56:37 GMT, Shaojin Wen <swen at openjdk.org> wrote:

>> Johannes Graham has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   VALUES_SIZE
>
> src/java.base/share/classes/java/text/DigitList.java line 732:
> 
>> 730: 
>> 731:     // The digit part of -9223372036854775808L
>> 732:     private static final byte[] LONG_MIN_REP = "9223372036854775808".getBytes(StandardCharsets.ISO_8859_1);
> 
> add `@Stable` here

@j3graham Please consider @wenshao's suggestion.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27118#discussion_r2374930678


More information about the core-libs-dev mailing list