RFR: 8294696 - BufferedInputStream.transferTo should drain buffer when mark set [v2]

Alan Bateman alanb at openjdk.org
Tue Oct 18 08:23:59 UTC 2022


On Mon, 3 Oct 2022 05:54:31 GMT, Markus KARG <duke at openjdk.org> wrote:

>> This PR implements JDK-8294696.
>
> Markus KARG has updated the pull request incrementally with one additional commit since the last revision:
> 
>   Checking explicitly -1 instead of < 0

The test is not the issue, it's that the proposal will require a security review. Yes, copying the bytes would remove that concern.

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

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


More information about the core-libs-dev mailing list