RFR: 8361299: (bf) CharBuffer.getChars(int,int,char[],int) violates pre-existing specification [v3]

Brett Okken duke at openjdk.org
Mon Jul 7 13:17:43 UTC 2025


On Thu, 3 Jul 2025 18:02:13 GMT, Alan Bateman <alanb at openjdk.org> wrote:

>>> So maybe we can create a follow-up issue to improve this test (and probably migrate it to a JUnit test too).
>> 
>> Agreed. I also noticed it is TestNG now.
>
> Okay, let's create a follow-up issue for that.

Could there also be value in a more generic `CharBufferAsCharSequenceTest` test which covers the entirety of the `CharSequence` interface on the various `CharBuffer` implementations in various "states" (position, offset, limit, etc.)?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/26104#discussion_r2190061803


More information about the nio-dev mailing list