8203765: java/nio/channels/Selector/SelectAndClose: add some prints and @intermittent tag

Brian Burkhalter brian.burkhalter at oracle.com
Fri May 25 14:03:56 UTC 2018


On May 24, 2018, at 11:58 PM, Alan Bateman <Alan.Bateman at oracle.com> wrote:

> My preference would be to re-work the test so that main thread waits until selectThread is in select. That eliminates the sleep(2000) and avoids the potential ClosedSelectorException that happens when closeThread closes the selector before selectThread blocks in select. The changes you have are benign of course but think we should just fix the test now rather than having to look at it again in 6 months when it fails again.

All right, I will take another look at it next week.

Brian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openjdk.java.net/pipermail/nio-dev/attachments/20180525/bde33bc6/attachment.html>


More information about the nio-dev mailing list