On Sun, 1 Feb 2026 12:55:29 GMT, Tatsunori Uchino <[email protected]> wrote:

>> Adds `codePointCount()` overloads to `String`, `Character`, 
>> `(Abstract)StringBuilder`, and `StringBuffer` to make it possible to 
>> conveniently retrieve the length of a string as code points without extra 
>> boundary checks.
>> 
>> 
>> if (superTremendouslyLongExpressionYieldingAString().codePointCount() > 
>> limit) {
>>     throw new Exception("exceeding length");
>> }
>> 
>> 
>> Is a CSR required to this change?
>
> Tatsunori Uchino has updated the pull request incrementally with two 
> additional commits since the last revision:
> 
>  - Add comment
>  - Fix logic error

Can I commit test\jdk\java\nio\Buffer\build\tools\sp\Spp.class? It was 
generated by `genBasic.sh`. The other files were not changed.

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

PR Comment: https://git.openjdk.org/jdk/pull/26461#issuecomment-3847208289

Reply via email to