8208780: (se) test SelectWithConsumer.testReadableAndWriteable(): failure

Alan Bateman Alan.Bateman at oracle.com
Fri Sep 14 09:41:19 UTC 2018


This is an intermittent failure with the testReadableAndWriteable test 
in Selector/SelectWithConsumer.java. The test needs to check that the 
action is invoked to notify the consumer that the channel is both 
readable and writeable. In the test, the channel is ready for writing 
for a brief period before it also becomes ready for reading. The test 
needs to ensure the channel is ready for all expected operations before 
it tests the select(Consumer) methods. The proposed patch to the test is 
here:
    http://cr.openjdk.java.net/~alanb/8208780/webrev/index.html

-Alan




More information about the nio-dev mailing list