7177617: java/nio/channels/AsyncCloseAndInterrupt.java failing on Windows
Alan Bateman
Alan.Bateman at oracle.com
Sun Jun 17 13:03:17 PDT 2012
This one is an amendment to the changes for 7176630 to sort out the
asynchronous close case. I unfortunately missed the test failure because
it was masked by a completely different issue, the long standing issue
that closing a FileChannel when doing a transfer* operation. The
proposed patch fix the issue and also fixes the skips this in the test
as it was only previously passing by chance. I've also added an
additional test so that we have more test coverage for the close during
blocking write case. The only minor changes are because I removed
TestUtil.onME, not needed now as the JDK hasn't run on Windows ME for
several releases. The webrev with the patch is here:
http://cr.openjdk.java.net/~alanb/7177617/webrev/
Thanks,
Alan.
More information about the nio-dev
mailing list