RFR: 8306623: (bf) CharBuffer::allocate throws unexpected exception type with some CharSequences

Brian Burkhalter bpb at openjdk.org
Tue Apr 25 01:50:24 UTC 2023


On Tue, 25 Apr 2023 01:44:14 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> When appending a `CharBuffer`, perform a specific check for buffer overflow before invoking `put()`.

I'm not entirely comfortable with where I've put the test in this patch.

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

PR Comment: https://git.openjdk.org/jdk/pull/13632#issuecomment-1521039628


More information about the nio-dev mailing list