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

Patrick Concannon pconcannon at openjdk.java.net
Fri Jan 22 11:32:26 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

Patrick Concannon has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains two additional commits since the last revision:

 - Merge remote-tracking branch 'origin/master' into JDK-8259628
 - 8259628: jdk/net/ExtendedSocketOption/AsynchronousSocketChannelNAPITest.java fails intermitently

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2162/files
  - new: https://git.openjdk.java.net/jdk/pull/2162/files/908d2da2..313971a1

Webrevs:
 - full: https://webrevs.openjdk.java.net/?repo=jdk&pr=2162&range=01
 - incr: https://webrevs.openjdk.java.net/?repo=jdk&pr=2162&range=00-01

  Stats: 8657 lines in 227 files changed: 3891 ins; 3316 del; 1450 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