RFR: 8365675: Add String Unicode Case-Folding Support [v7]

Roger Riggs rriggs at openjdk.org
Fri Nov 7 20:35:05 UTC 2025


On Fri, 7 Nov 2025 20:30: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:
>> 
>>   update to use value long for folding
>
> src/java.base/share/classes/java/lang/StringLatin1.java line 278:
> 
>> 276:             return 1;
>> 277:         }
>> 278:         if (k2 < olast || f1 != 0) {
> 
> Should `f1` here be `f2`, partial codePoint remaining in 2nd string?

A new test case maybe useful.

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

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


More information about the core-libs-dev mailing list