On Tue, 27 Jan 2026 13:53:37 GMT, Tatsunori Uchino <[email protected]> wrote:

> Do we need to remove or preserve `Character.codePointCount(char[])`? I think 
> it's inconsistent to have codePointCount(char[]) and 
> codePointCount(CharSequence, int, int) but not codePointCount(CharSequence). 
> We may need to update the CSR.

I would rather focus on addressing the use case, not pursuing the consistency. 
I would not introduce any methods on Character, and just have 
CharSequence.codePointCount() (and its implementations) for this PR.

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

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

Reply via email to