StringCharBuffer and bulk get
Alan Bateman
alan.bateman at oracle.com
Wed Jul 2 18:19:11 UTC 2025
On 02/07/2025 16:58, Brett Okken wrote:
> :
>
> This makes it very difficult to pass a CharBuffer (where the position
> is not 0) to an api taking a CharSequence - because if that api makes
> a switch to start using getChars (rather than charAt), it will break.
>
Thanks for bringing this up. It does need attention. I just chatted with
Brian Burkhalter so he's going to look through the spec + implementation
changes to address this. If there is any risk or uncertainty then it
mean pulling this out.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.org/pipermail/core-libs-dev/attachments/20250702/ea62482a/attachment-0001.htm>
More information about the core-libs-dev
mailing list