Integrated: 8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Brian Burkhalter
bpb at openjdk.org
Thu Apr 27 17:33:56 UTC 2023
On Wed, 26 Apr 2023 22:48:19 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.
This pull request has now been integrated.
Changeset: 80fae514
Author: Brian Burkhalter <bpb at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/80fae514b16bfe38ff29f71f8cdc6d4c3482ad3d
Stats: 387 lines in 11 files changed: 376 ins; 0 del; 11 mod
8306959: (bf) CharBuffer.append(CharSequence,int,int) throws BufferOverflowException where IndexOutOfBoundsException expected
Reviewed-by: alanb
-------------
PR: https://git.openjdk.org/jdk/pull/13680
More information about the nio-dev
mailing list