JDK-8175209 : Account for race condition in java/nio/channels/AsynchronousSocketChannel/Basic.java
  • Type: Bug
  • Component: core-libs
  • Sub-Component: java.nio
  • Affected Version: 9
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-02-17
  • Updated: 2023-07-25
  • Resolved: 2017-03-08
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 10 JDK 8 JDK 9
10Fixed 8u391Fixed 9 b161Fixed
Related Reports
Relates :  
Description
The test initiates a chain of writes to an AsynchronousSocketChannel and then attempts a single write outside of this chain which is expected to fail with a WritePendingException. It is possible however that the single write could be initiated between one of the chained writes causing the chain of writes to fail and resulting in a spurious error in the test.
Comments
URL: http://hg.openjdk.java.net/jdk9/jdk9/jdk/rev/1e350cbeb189 User: lana Date: 2017-03-15 14:49:32 +0000
15-03-2017

URL: http://hg.openjdk.java.net/jdk9/dev/jdk/rev/1e350cbeb189 User: bpb Date: 2017-03-08 17:53:34 +0000
08-03-2017