On Thu, 30 Nov 2023 00:03:21 GMT, Brian Burkhalter <b...@openjdk.org> wrote:

> Pass `ByteArrayInputStream.buf ` directly to the `OutputStream` parameter of 
> `BAIS.transferTo` only if the target stream is in the `java.io` package.

This pull request has now been integrated.

Changeset: b0d14509
Author:    Brian Burkhalter <b...@openjdk.org>
URL:       
https://git.openjdk.org/jdk/commit/b0d145097cdc61e4bab19393a125e63aa3bc29b9
Stats:     108 lines in 2 files changed: 107 ins; 0 del; 1 mod

8321053: Use ByteArrayInputStream.buf directly when parameter of transferTo() 
is trusted

Reviewed-by: alanb

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

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

Reply via email to