RFR: 8321053: Use ByteArrayInputStream.buf directly when parameter of transferTo() is trusted [v4]

Markus KARG duke at openjdk.org
Tue Dec 5 13:01:35 UTC 2023


On Tue, 5 Dec 2023 08:27:09 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> I suspect it's left over from a previous iteration. In any case, limiting it to a small number of output streams makes this easier to look at. BAOS and FOS seem okay, POP seems okay too but legacy and not interesting.

Agreed for a rather short list of explicitly whitelisted implementations. We should get rid of the package check.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16893#discussion_r1415569212


More information about the core-libs-dev mailing list