<i18n dev> RFR: 8365675: Add String Unicode Case-Folding Support [v4]

Xueming Shen sherman at openjdk.org
Tue Oct 28 20:03:36 UTC 2025


On Wed, 22 Oct 2025 20:28:53 GMT, Roger Riggs <rriggs at openjdk.org> wrote:

>> Xueming Shen has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   test case update
>
> make/jdk/src/classes/build/tools/generatecharacter/GenerateCaseFolding.java line 1:
> 
>> (failed to retrieve contents of file, check the PR for context)
> Please rename this build tool to avoid ambiguity in the naming of CaseFolding.java.

renamed to GenerateCaseFolding.java

> src/java.base/share/classes/jdk/internal/lang/CaseFolding.java.template line 1:
> 
>> 1: /*
> 
> Significant performance improvements could be had by handling single (simple) char -> char folding separately avoiding the overhead of iterating over single character arrays.

1:1 mapping and 1:M mapping are handled separate now.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27628#discussion_r2470873697
PR Review Comment: https://git.openjdk.org/jdk/pull/27628#discussion_r2470879134


More information about the i18n-dev mailing list