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

Patrick Concannon pconcannon at openjdk.java.net
Fri Jan 22 12:32:09 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 incrementally with one additional commit since the last revision:

  8259628: Removed buffer check

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

Changes:
  - all: https://git.openjdk.java.net/jdk/pull/2162/files
  - new: https://git.openjdk.java.net/jdk/pull/2162/files/6bd5efb1..507eedde

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

  Stats: 15 lines in 1 file changed: 1 ins; 10 del; 4 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