On Sun, 17 May 2026 15:00:15 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 one 
> additional commit since the last revision:
> 
>   Tweak JavaDoc style

I've been being confused by the CI failure by the gobbledygook coverage test 
failure message. I wonder if it has disappeared before I knew it.

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

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

Reply via email to