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

Darragh Clarke duke at openjdk.org
Tue Oct 25 12:43:12 UTC 2022


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.

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

Commit messages:
 - cleanup
 - added extra logging incase of test failures

Changes: https://git.openjdk.org/jdk/pull/10851/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=10851&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8293696
  Stats: 28 lines in 1 file changed: 25 ins; 0 del; 3 mod
  Patch: https://git.openjdk.org/jdk/pull/10851.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10851/head:pull/10851

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


More information about the nio-dev mailing list