StringCharBuffer and bulk get
Brett Okken
brett.okken.os at gmail.com
Wed Jul 2 20:05:43 UTC 2025
> It looks like only CharBuffer.getChars is broken so the rest of the change can stay. I filed this issue to track it:
>
> https://bugs.openjdk.org/browse/JDK-8361299
>
> The fix is straightforward but will break a test and require a CSR.
Looks like the testNG GetChars has
cb.getChars(cb.position(), cb.limit(), dst, 0);
but that should have been
cb.getChars(0, cb.remaining(), dst, 0);
or
cb.getChars(0, cb.length(), dst, 0);
- Brett
More information about the nio-dev
mailing list