StringCharBuffer and bulk get
Brian Burkhalter
brian.burkhalter at oracle.com
Wed Jul 2 16:26:02 UTC 2025
An issue will need to be filed.
On Jul 2, 2025, at 8:48 AM, Chen Liang <chen.l.liang at oracle.com> wrote:
I think Brett is right. The spec of CharBuffer says:
The methods defined by {@code CharSequence} operate relative to the current
position of the buffer when they are invoked.
Yet getChars is an absolute bulk get method.
Since JDK25 is still in RDP, we still have a chance to fix this up.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/nio-dev/attachments/20250702/87975d15/attachment-0001.htm>
More information about the nio-dev
mailing list