Re: RFR: 8343962: [REDO] Move getChars to DecimalDigits [v3]

2024-12-08 Thread Shaojin Wen
On Sun, 8 Dec 2024 08:51:34 GMT, Shaojin Wen wrote: >> This PR is a resubmission after PR #21593 was rolled back, and the unsafe >> offset overflow issue has been fixed. >> >> 1) Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to >> reduce duplication. >> >> 2) HexDigit

Re: RFR: 8343962: [REDO] Move getChars to DecimalDigits [v3]

2024-12-08 Thread Shaojin Wen
> This PR is a resubmission after PR #21593 was rolled back, and the unsafe > offset overflow issue has been fixed. > > 1) Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to > reduce duplication. > > 2) HexDigits and OctalDigits also include getCharsLatin1 and getCharsUTF