RFR: 8265891: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel) [v4]

Markus KARG github.com+1701815+mkarg at openjdk.java.net
Thu Aug 26 06:21:23 UTC 2021


On Wed, 25 Aug 2021 21:37:28 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> Why not just use [java/io/FileInputStream/TransferTo.java](https://github.com/openjdk/jdk/blob/master/test/jdk/java/io/FileInputStream/TransferTo.java) as a starting point?

Because I already invested considerable time into my test already and in fact do like my test more due to the flexibility it provides for my future PRs that will follow soon (adding more transfer cases), and very much like it as it is, so if only a small change is actually needed here then I will add that change and we're done with this PR and I will go on to re-enable other test cases.

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

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


More information about the nio-dev mailing list