RFR[11] of JDK-8207244, java/nio/channels/Selector/SelectWithConsumer.java testInterruptDuringSelect() fails intermittently

Alan Bateman Alan.Bateman at oracle.com
Thu Jul 19 07:52:57 UTC 2018

On 19/07/2018 08:47, Hamlin Li wrote:
> Hi Alan,
> Thank you for review, I have updated in place: 
> http://cr.openjdk.java.net/~mli/8207244/webrev.00/
Utils.adjustTimeout doesn't make sense here as the duration of select is 
not a function of the timeout factor specified to jtreg. I think the 
solution to this issue is a one-line fix - either drop the assert (as 
it's not useful here) or change it to just check that select didn't 
complete immediately.


More information about the nio-dev mailing list