On Thu, 13 Aug 2026 09:46:15 GMT, Tatsunori Uchino <[email protected]> wrote:

> My main focus is on String; the other two are secondary.

I had a brief discussion with @stuart-marks about this as we have concerns with 
adding the method to CharSequence (CS). Reducing this to just a method on 
String is okay. It does not preclude adding to StringBuilder in the future or 
re-visiting CS if there is really a need. I realize you went down the CS route 
in response to feedback in early drafts and maybe there should have been more 
push back on that (given the past history of adding default methods to CS).

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

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

Reply via email to