JDK-8012244 : java/net/Socket/asyncClose/Race.java fails intermittently on Windows
  • Type: Bug
  • Status: Closed
  • Resolution: Fixed
  • Component: core-libs
  • Sub-Component: java.net
  • Priority: P3
  • Affected Version: 8
  • OS: windows_2008
  • CPU: generic
  • Submit Date: 2013-04-15
  • Updated Date: 2014-11-17
  • Resolved Date: 2013-04-16
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 Availabitlity Release.

To download the current JDK release, click here.
JDK 6 JDK 7 JDK 8
6u91Resolved 7u60Fixed 8 b87Fixed
Description
ACTION: main -- Failed. Execution failed: `main' threw exception: java.net.ConnectException: Connection refused: connect
REASON: Assumed action based on file name: run main Race 
TIME:   1.141 seconds
messages:
command: main Race
reason: Assumed action based on file name: run main Race 
elapsed time (seconds): 1.141
STDERR:
java.net.SocketException: socket closed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at java.net.SocketInputStream.read(SocketInputStream.java:203)
        at Race$1.run(Race.java:57)
java.net.SocketException: socket closed
        at java.net.SocketInputStream.socketRead0(Native Method)
        at java.net.SocketInputStream.read(SocketInputStream.java:150)
        at java.net.SocketInputStream.read(SocketInputStream.java:121)
        at java.net.SocketInputStream.read(SocketInputStream.java:203)
        at Race$1.run(Race.java:57)
.....
Comments
Critical request justification: - Justification : followup bug fix for bug# 8006395 which introduced Race.java. 8006395 has been fixed in 6u75 and this bug should be fixed in 6ux since it addresses the specific issues mentioned in bug# 8010898 - Risk Analysis : low, fixed in JDK8, JDK7 - Webrev : (Crucible) https://java.se.oracle.com/code/cru/CR-JDK6UCPU-444 - Testing (done/to-be-done) : regression tests on Win platform only - Back ports (done/to-be-done) : will not fix in JDK5 since it will be EOL'd shortly - FX Impact : None
2014-11-11

SQE OK to take this fix in 7u60
2014-01-15