This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: issue with ServerSocket::accept


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






Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]