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


Vladimir Leven wrote:

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.


Looks like we don't implement blocking I/O interruption with close(). I've set up a bug report to track this issue, with a self-contained test case:

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

Does anyone know of a good way to implement this? Can select() do it?

Bryce


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