RFR: 8259628: jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermittently

Patrick Concannon pconcannon at openjdk.java.net
Wed Jan 20 11:59:01 UTC 2021


Hi,

Could someone please review my fix for JDK-8259628: '`jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java` fails intermittently' ?

`AsynchronousSocketChannelNAPITest` is failing intermittently on Linux due to a race condition caused by not correctly waiting for the result of an asynchronous operation. This fix rectifies this issue and adds additional checks to ensure correct result is received.

Kind regards,
Patrick

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

Commit messages:
 - 8259628: jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermitently

Changes: https://git.openjdk.java.net/jdk/pull/2162/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=2162&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259628
  Stats: 14 lines in 1 file changed: 11 ins; 1 del; 2 mod
  Patch: https://git.openjdk.java.net/jdk/pull/2162.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/2162/head:pull/2162

PR: https://git.openjdk.java.net/jdk/pull/2162


More information about the net-dev mailing list