On Thu, 30 Nov 2023 04:31:41 GMT, jmehrens <d...@openjdk.org> wrote:

> You have to know that it is in the java.io package and it doesn't wrap 
> another stream.

That is a good point. In the previous work on this override, we converged on 
the current implementation to not leak the internal byte[] to the target. It 
could be special cased for trusted targets but at the cost of auditing and 
complexity. So more thought needed on this, I don't think the current change 
can be integrated.

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

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

Reply via email to