RFR: 8364007: Add no-argument codePointCount method to CharSequence and String [v3]

Tatsunori Uchino duke at openjdk.org
Wed Jan 28 23:15:49 UTC 2026


On Mon, 26 Jan 2026 19:33:10 GMT, Chen Liang <liach at openjdk.org> wrote:

>> Tatsunori Uchino has updated the pull request incrementally with four additional commits since the last revision:
>> 
>>  - Update `@bug` in correct file
>>  - Add default implementation on codePointCount in CharSequence
>>  - Update `@bug` entries in test class doc comments
>>  - Discard changes on code whose form is not `str.codePointCount(0, str.length())`
>
> src/java.base/share/classes/java/lang/AbstractStringBuilder.java line 539:
> 
>> 537:      * @return the number of Unicode code points in this String
>> 538:      * @since  26
>> 539:      */
> 
> Suggestion:
> 
>     /**
>      * @since 27
>      */

Why did you strip the JSDoc?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26461#discussion_r2738998166


More information about the core-libs-dev mailing list