Integrated: 8322877: java/io/BufferedInputStream/TransferTo.java failed with IndexOutOfBoundsException

Brian Burkhalter bpb at openjdk.org
Wed Jan 3 21:26:29 UTC 2024


On Wed, 3 Jan 2024 18:01:59 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> The final position instead of the number of bytes to write was being passed to `ByteArrayOuputStream.write(byte[],int,int)`.

This pull request has now been integrated.

Changeset: 54b3ceec
Author:    Brian Burkhalter <bpb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/54b3ceeca27b67f4270d8b700b072f46959dba65
Stats:     3 lines in 2 files changed: 0 ins; 1 del; 2 mod

8322877: java/io/BufferedInputStream/TransferTo.java failed with IndexOutOfBoundsException

Reviewed-by: alanb, stsypanov

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

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


More information about the core-libs-dev mailing list