Bug in interrupt handling in FileChannelImpl.map(…)
Alan Bateman
Alan.Bateman at oracle.com
Tue Oct 22 02:21:43 PDT 2013
On 21/10/2013 20:02, Chris Dennis wrote:
> Okay looks like I had an incorrect assertion in the test, (an artifact due
> to the copy paste I performed from the InterruptDeadlock test). I cannot
> assert that the channel is closed after all the threads have completed
> (they could all get through the map call before the interrupting thread
> gets to them). Attached is a corrected version of the patch.
>
> Chris
Thanks for the update, the test looks much better now. As this is a
low-risk change then it should be okay to get it into jdk8. I'll let it
run on all platforms first to make sure that the test is reliable.
-Alan
More information about the nio-dev
mailing list