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

Markus KARG duke at openjdk.org
Wed Apr 16 17:01:58 UTC 2025


On Wed, 16 Apr 2025 16:47:33 GMT, Jaikiran Pai <jpai at openjdk.org> wrote:

>It should be possible to just invoke `CharSequence.getChars()` on a `CharSequence` instance to verify that its default method does what it specifies. So these new tests won't be duplicating any existing test code.

IIUC then you will be fine with a test that **solely** tests *the default implementation* of `CharSequence.getChars()`?

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

PR Comment: https://git.openjdk.org/jdk/pull/21730#issuecomment-2810179689


More information about the core-libs-dev mailing list