Integrated: 8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException

Naoto Sato naoto at openjdk.org
Wed Mar 29 16:12:48 UTC 2023


On Tue, 21 Mar 2023 22:40:48 GMT, Naoto Sato <naoto at openjdk.org> wrote:

> Addressing an integer overflow on decoding a large byte buffer. Now that the code only throws OOME if necessary, describing the fact with the `@throws` tag. A CSR for that is also drafted.

This pull request has now been integrated.

Changeset: f07decb7
Author:    Naoto Sato <naoto at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f07decb74b525072cf035b1e11569d43390952ed
Stats:     98 lines in 2 files changed: 95 ins; 0 del; 3 mod

8272613: CharsetDecoder.decode(ByteBuffer) throws IllegalArgumentException

Reviewed-by: alanb, bpb

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

PR: https://git.openjdk.org/jdk/pull/13131


More information about the nio-dev mailing list