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

Tatsunori Uchino duke at openjdk.org
Sat Jan 31 13:34:54 UTC 2026


On Fri, 30 Jan 2026 16:20:13 GMT, Naoto Sato <naoto at openjdk.org> wrote:

>>> Bonus if you could rename each testX to testMethodName
>> 
>> "`testCodePointCount`" has already been occupied:
>> 
>> https://github.com/tats-u/jdk/blob/585ce36e125ec2f79483311512d8789ff39b0df9/test/jdk/java/lang/StringBuilder/Supplementary.java#L365-L376
>> 
>> https://github.com/tats-u/jdk/blob/585ce36e125ec2f79483311512d8789ff39b0df9/test/jdk/java/lang/StringBuilder/Supplementary.java#L247-L251
>
> We could distinguish them like `testCodePointCountNoArg` and `testCodePointCountTwoArgs`

I see

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

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


More information about the core-libs-dev mailing list