[Bug libgcj/11836] Socket.connect with a timeout of non-zero always times out.

pinskia at physics dot uc dot edu gcc-bugzilla@gcc.gnu.org
Thu Aug 7 01:16:00 GMT 2003


PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11836


pinskia at physics dot uc dot edu changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


------- Additional Comments From pinskia at physics dot uc dot edu  2003-08-07 01:16 -------
Fixed on the mainline by 

2003-08-07  Jacob Gladish <gladish@spinnakernet.com>
                       Bryce McKinlay  <bryce@mckinlay.net.nz>
	* java/net/natPlainSocketImplPosix.cc (connect): Pass the FD as a
	ready-to-write argument to _Jv_Select. Reset the socket back to
	non-blocking state after connecting.
	(accept): Pass the FD as a ready-to-write argument to _Jv_Select.
	Throw SocketTimeoutException not InterruptedIOException.
	(read): Throw SocketTimeoutException not InterruptedIOException.



More information about the Gcc-bugs mailing list