RFR: 8343962: [REDO] Move getChars to DecimalDigits [v6]

Shaojin Wen swen at openjdk.org
Sat Jan 18 01:02:00 UTC 2025


On Fri, 17 Jan 2025 15:29:32 GMT, Raffaello Giulietti <rgiulietti at openjdk.org> wrote:

>> fixed it
>
> Sorry, I was just reading the comment and not how DIGITS is initialized and used.
> 
> The _correct_ comment should be something like
> 
>      *      97 -> '9' | ('7' << 8) -> 0x3739
> 
> so the `short` value was correct before, but not the expression to construct it.
> Again, sorry for the confusion.

It was my mistake. I made the change without checking it carefully. It has been fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22023#discussion_r1920913558


More information about the core-libs-dev mailing list