On Fri, 14 Aug 2026 13:33:28 GMT, Alan Bateman <[email protected]> wrote:
>> Tatsunori Uchino has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> Reapply JavaDoc
>
> src/java.base/share/classes/java/lang/String.java line 1939:
>
>> 1937: * @since 28
>> 1938: */
>> 1939: public int codePointCount() {
>
> The simpler/updated proposal looks good. The other methods that operate on
> code points will use "unpaired surrogates" and I think we should do the same
> here rather than switching to "Isolated surrogate code units".
https://www.unicode.org/versions/Unicode17.0.0/core-spec/chapter-3/#G1654
https://www.google.com/search?q=%22isolated+surrogate%22&domains=unicode.org&sitesearch=unicode.org
https://www.google.com/search?q=%22unpaired+surrogate%22&domains=unicode.org&sitesearch=unicode.org
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26461#discussion_r3784127719