RFR: 8306959: (bf) CharBuffer.append(CharSequence, int, int) throws BufferOverflowException where IndexOutOfBoundsException expected [v3]

Alan Bateman alanb at openjdk.org
Thu Apr 27 06:38:23 UTC 2023


On Thu, 27 Apr 2023 00:10:53 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

>> In `java.nio.CharBuffer::append(CharSequence csq, int start, int end)`, the `start` and `end` parameters need to be validated against the preconditions specified by `Appendable::append(CharSequence csq, int start, int end)` before they are used to determine whether a buffer overflow condition exists.
>
> Brian Burkhalter has updated the pull request incrementally with one additional commit since the last revision:
> 
>   8306959: Minor tweak to test

Marked as reviewed by alanb (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/13680#pullrequestreview-1403281958


More information about the nio-dev mailing list