On Wed, 3 Jan 2024 18:01:59 GMT, Brian Burkhalter <b...@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 <b...@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