JDK-8175131 : sun.rmi.transport.tcp.TCPChannel.createConnection close connection on timeout
  • Type: Bug
  • Component: core-libs
  • Affected Version: 8
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2017-02-17
  • Updated: 2017-11-29
  • Resolved: 2017-05-24
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 8u152Fixed 9 b172Fixed
Related Reports
Relates :  
Description
The timeout behavior of sun.rmi.transport.tcp.TCPChannel.createConnection() prevents the RMI client from closing the tcp connection even if it fails handshaking.  The number of tcp connections increases when retrying the connection to the RMI server until garbage collection causes the connections to be terminated.  This can occur when the connection between RMI server and client is established but the server doesn't send the correct response to the client.


Comments
This was pushed to jdk9/dev in error while the review was ongoing. The changes are low risk and benign so this is approved for JDK 9 .
24-05-2017