[TEST-BUG] JDK 9 RFR of 8174127: (ch) Add instrumentation to java/nio/channels/FileChannel/Transfer.java

Brian Burkhalter brian.burkhalter at oracle.com
Tue Feb 7 22:22:20 UTC 2017


Please review at  your convenience.

Issue:	https://bugs.openjdk.java.net/browse/JDK-8174127
Patch:	http://cr.openjdk.java.net/~bpb/8174127/webrev.00/

The purpose of this change is to instrument the test in question to provide information which might eventually lead to a fix for [1]. Debugging statements are added to the test to show which tests have been effected. Also, instead of exiting upon the first test failure, all tests are run and a failure count is kept with the overall test failing if that count is non-zero at the end. The test library utility also RandomFactory replaces the direct instantiation of Random to provide the ability to manage the randomness in the test.

A regression job with slightly different content succeeded on all platforms; a job with the current patch is in progress.

Thanks,

Brian

[1] https://bugs.openjdk.java.net/browse/JDK-8140263


More information about the nio-dev mailing list