RFR: 8316150: Refactor get chars and string size [v5]
Chen Liang
liach at openjdk.org
Fri Sep 22 04:49:21 UTC 2023
On Fri, 22 Sep 2023 04:10:26 GMT, 温绍锦 <duke at openjdk.org> wrote:
>> 1. Reduce duplicate stringSize code
>> 2. Move java.lang.StringLatin1.getChars to jdk.internal.util.DecimalDigits::getCharLatin1,not only java.lang, other packages also need to use this method
>
> 温绍锦 has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains eight commits:
>
> - rebase from master & refactor digits
> - rebase from master
> - Merge remote-tracking branch 'upstream/master' into refactor_get_chars_and_string_size
>
> # Conflicts:
> # src/java.base/share/classes/java/lang/StringLatin1.java
> - add comment
> - fix build error
> - fix build error
> - move StringLatin1::getChars to jdk.internal.util.DecimalDigits::getCharsLatin1
> - move *::stringSize to jdk.internal.util.DecimalDigits::stringSize
Do Octal and Hex digits need int versions of getChars and stringSize?
-------------
PR Comment: https://git.openjdk.org/jdk/pull/15699#issuecomment-1730795452
More information about the core-libs-dev
mailing list