RFR: 8293696: java/nio/channels/DatagramChannel/SelectWhenRefused.java fails with "Unexpected wakeup"

Mark Sheppard msheppar at openjdk.org
Tue Oct 25 13:03:19 UTC 2022


On Tue, 25 Oct 2022 12:35:15 GMT, Darragh Clarke <duke at openjdk.org> wrote:

> Added logging to SelectWhenRefused for an intermittent failure caused by unexpected wakeups, this includes trying to receive data if there is any available to identify where it is coming from.
> 
> I also set the test to run in othervm mode which should reduce the chances of this failure happening in the first place.

test/jdk/java/nio/channels/DatagramChannel/SelectWhenRefused.java line 25:

> 23: 
> 24: /* @test
> 25:  * @bug 6935563 7044870 8293696

I think we can omit the bug number in this instance as it is not at this point in time a product bug -- as you are adding diagnostics to the test, maybe a separate subtask or sub-bug could have been used

-------------

PR: https://git.openjdk.org/jdk/pull/10851


More information about the nio-dev mailing list