RFR: 8361299: (bf) CharBuffer.getChars(int,int,char[],int) violates pre-existing specification [v3]
Alan Bateman
alanb at openjdk.org
Thu Jul 3 18:04:39 UTC 2025
On Thu, 3 Jul 2025 15:30:50 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:
>> test/jdk/java/nio/Buffer/GetChars.java line 75:
>>
>>> 73:
>>> 74: @Test
>>> 75: public void testSrcBeginIsNegationOfPosition() {
>>
>> I skimmed through GetChars and I see it only tests a CB created with CharBuffer.wrap, only testGetChars tests all char buffers. All the test methods should be tested all char buffer implementations. So maybe we can create a follow-up issue to improve this test (and probably migrate it to a JUnit test too).
>
>> 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.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26104#discussion_r2183428833
More information about the nio-dev
mailing list