RFR: JDK-8273038: ChannelInputStream.transferTo() uses FileChannel.transferTo(FileChannel) [v8]

Markus KARG github.com+1701815+mkarg at openjdk.java.net
Tue Aug 31 13:54:25 UTC 2021


On Mon, 30 Aug 2021 23:56:45 GMT, Brian Burkhalter <bpb at openjdk.org> wrote:

> As I understand it, if a `j.u.Random` instance is constructed from a given seed, then a series of invocations on that instance will always produce the same sequence of outputs. `RandomFactory` prints the seed in the test output and allows a seed to be provided to the test via a `-D` option. So if the test fails with a given combination of initial positions and buffer size, then it should be straightforward to reproduce the failure by providing the seed used when the test failed.

Yes, given the fact it fails for ourselfs or at least for someone that knows that he has to tell us the printed seed.

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

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


More information about the nio-dev mailing list