8246282: [REDO] JDK-8245121 (bf) XBuffer.put(Xbuffer src) can give unexpected result when storage overlaps
Alan Bateman
Alan.Bateman at oracle.com
Thu Jun 4 14:08:57 UTC 2020
On 03/06/2020 01:48, Brian Burkhalter wrote:
> :
>
> I added a char-only package scope method isAddressable() which returns
> true by default with StringCharBuffer overriding it to return false.
>
Looks good although I think the phrase "simply addressable" could
confuse future maintainers. Maybe drop "simply" and expand the comment
to say that it is false for StringCharBuffer that wraps a char sequence.
-Alan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.openjdk.java.net/pipermail/nio-dev/attachments/20200604/c22e8de5/attachment.htm>
More information about the nio-dev
mailing list