RFR: 8320971: Use BufferedInputStream.buf directly when param of implTransferTo() is trusted

Alan Bateman alanb at openjdk.org
Wed Nov 29 19:58:07 UTC 2023


On Wed, 29 Nov 2023 13:56:34 GMT, Vladimir Sitnikov <vsitnikov at openjdk.org> wrote:

> What do you think of passing the buffer as is?

No, it should only do for trusted targets. BAIS has an issue in that area that should be fixed.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/16879#discussion_r1409798218


More information about the core-libs-dev mailing list