RFR: 8279283 - (ch) BufferedInputStream should override transferTo

Alan Bateman alanb at openjdk.java.net
Mon Dec 27 08:53:14 UTC 2021


On Sun, 26 Dec 2021 17:30:41 GMT, Markus KARG <duke at openjdk.java.net> wrote:

> Implementation of JDK-8279283

BIS is not specified to be thread safe but the existing read/write operations are. If transferTo is overridden then this is an area that will require close attention.

Have you surveyed the existing tests to see if transferTo is invoked on a BIS? New tests may be needed.

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

PR: https://git.openjdk.java.net/jdk/pull/6935


More information about the core-libs-dev mailing list