RFR: 8343110: Add getChars(int, int, char[], int) to CharSequence and CharBuffer

Rob Spoor duke at openjdk.org
Sun Feb 9 18:41:34 UTC 2025


On Sat, 8 Feb 2025 18:56:00 GMT, Markus KARG <duke at openjdk.org> wrote:

>> While technically not being necessary, it is definitively a good idea. I will add it to the draft once we actually agreed that we really want to go with this particular signature (see the discussion with Chen).
>
> Fixed in `String` and `AbstractStringBuilder`. There is no `StringBuilder.getChars`. `StringBuffer.getChars` already has `@Override`, just as `CharBuffer.getChars`. Thanks for the tip! 👍

You're welcome :)

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

PR Review Comment: https://git.openjdk.org/jdk/pull/21730#discussion_r1948073040


More information about the core-libs-dev mailing list