On Sun, 27 Jul 2025 23:05:25 GMT, Tatsunori Uchino <d...@openjdk.org> wrote:

> > Right now your PR is proposing to add a default method named codePointCount 
> > to CharSequence.
> 
> If it should be excluded for this time, I will push an additional commit to 
> _remove_ it from the content in this PR.

I think we should mull over the addition of CharSequence::codePointCount. On 
the surface it looks like it fits but we can't rush it (CharSequence is widely 
implemented and additions to this interface have a history of disruption in the 
eco system).

What is the reason for proposing Character.codePointCount(CharSequence) aswell?

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

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

Reply via email to