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

Alan Bateman alanb at openjdk.org
Sun Dec 17 07:51:44 UTC 2023


On Sat, 16 Dec 2023 17:50:07 GMT, Markus KARG <duke at openjdk.org> wrote:

> Let's follow Alan's proposal and simply inline this. 

I didn't suggest inlining this. I just asked not to add a new package com.sun.io with a single method class. Also as the concerns with BAIS and BIS are not the same (they do overlap but they are not the same), I think it's best to keep the changes as local as possible. It can be made more widely useful in the future but great care must be taken.

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

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


More information about the core-libs-dev mailing list