On Thu, 24 Jul 2025 16:18:41 GMT, Chen Liang <li...@openjdk.org> wrote:
>> Tatsunori Uchino has updated the pull request incrementally with four >> additional commits since the last revision: >> >> - Discard changes out of than java.base >> - Fix copyright year >> >> Co-authored-by: Mikhail Yankelevich <myankelev...@openjdk.org> >> - Fix how to get code point count in StringBuilder >> >> Co-authored-By: Chen Liang <li...@openjdk.org> >> - Fix test > > src/java.base/share/classes/java/lang/AbstractStringBuilder.java line 545: > >> 543: byte[] value = this.value; >> 544: if (isLatin1(coder)) { >> 545: return value.length; > > Suggestion: > > return count; I see, I fixed the argument passed to `StringUTF16.codePointCount` too. ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/26461#discussion_r2232795947