Integrated: 8342650: Move getChars to DecimalDigits
Shaojin Wen
swen at openjdk.org
Mon Nov 11 05:10:53 UTC 2024
On Sun, 20 Oct 2024 00:19:25 GMT, Shaojin Wen <swen at openjdk.org> wrote:
> Move getChars methods of StringLatin1 and StringUTF16 to DecimalDigits to reduce duplication
>
> 1. HexDigits and OctalDigits also include getCharsLatin1 and getCharsUTF16
> 2. Putting these two methods into DecimalDigits can avoid the need to expose them in JavaLangAccess
> 3. Eliminate duplicate code in BigDecimal
This pull request has now been integrated.
Changeset: e1d684c6
Author: Shaojin Wen <swen at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/e1d684c6451ae7875b61a92603c19336ccd734d6
Stats: 757 lines in 12 files changed: 381 ins; 352 del; 24 mod
8342650: Move getChars to DecimalDigits
Reviewed-by: liach
-------------
PR: https://git.openjdk.org/jdk/pull/21593
More information about the core-libs-dev
mailing list