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

> The addition to CharSequence will require static analysis to check for 
> conflicts with implementation. It will also likely impact the CharBuffer spec.

Looking at the original JSR 204 issue: 
https://bugs.openjdk.org/browse/JDK-4985217, it is interesting that the problem 
description included `CharSequence` but not in the proposed API. Tried to find 
the reason behind, but could not find any relevant information so far.
As to the general comment, I am not so sure adding the no-arg overrides, as 
they would simply be convenience methods to `codePointCount(0, length())` which 
to me adding not a significant benefit. My $0.02

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

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

Reply via email to