Code Review 6994079: PlainSocketImpl should close the socket if it fails

Chris Hegarty chris.hegarty at oracle.com
Fri Oct 22 09:40:33 PDT 2010


Alan, Michael,

connect(SocketAddress,int) should close the underlying file descriptor 
if it fails for any reason. This is consistent with the other connect 
methods. A little other cleanup while there.

http://cr.openjdk.java.net/~chegar/6994079/webrev.00/webrev/

-Chris.



More information about the net-dev mailing list