issue with ServerSocket::accept

Vladimir Leven vladimirl@wrx-ca.com
Thu May 13 18:35:00 GMT 2004


Oops. It does seem to block -- my mistake. But there is still a problem. 
When I close the serverSocket, java generates a SocketException, but gcj 
does not appear to do so.

Vladimir Leven wrote:

> I am fairly certain that ServerSocket::accept is not working properly. 
> I have reproduced the behaviour in both GCJ 3.2 and 3.4. It does not 
> seem to be blocking. I have a unit test which passes using javac, but 
> not gcj. I am attaching the pertinent source code.
>
> Vlad
>
>
>




More information about the Java mailing list