RFR: 8364007: Add overload without arguments to codePointCount in String etc. [v3]

Jaikiran Pai jpai at openjdk.org
Sat Jul 26 14:24:00 UTC 2025


On Sat, 26 Jul 2025 10:20:20 GMT, Tatsunori Uchino <duke 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())`
>
> How and where can I add tests for default implementing methods in `CharSequence`?

Hello @tats-u,

> > The recommended process for proposing new APIs is to put the proposal to the OpenJDK core-libs-dev mail alias.
> 
> I glanced over https://mail.openjdk.org/pipermail/core-libs-dev/2025-July/thread.html and those for some past months, but I did not get how to send one.
> 
The OpenJDK contribution guide has the necessary details on how to contribute to the project. Specifically this section https://openjdk.org/guide/#socialize-your-change is of relevance. In order to send a mail to the core-libs-dev mailing list, please first subscribe to that mailing list https://mail.openjdk.org/mailman/listinfo/core-libs-dev and initiate a discussion explaining the need and motivation for this new API. After there's some agreement about this proposal, the implementation changes in this PR can be pursued further.

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

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


More information about the compiler-dev mailing list