OpenJDK7: libnet.so getting closed twice

Phil Phillips pphillips at experts-exchange.com
Thu Jan 31 19:01:04 UTC 2013


It turns out that this bug seems to be release-specific.  The double 
close() behavior is consistent on FreeBSD 7, but I have yet to see it 
happen on FreeBSD 8.

My only hunch is that this has something to do with OpenJDK7 having more 
of the system calls "restartable" (interrupted system calls getting 
retried).  Maybe there's something not quite right with FreeBSD 7 
reporting EINTR - perhaps specifically when there's an open() / close() 
with no read()?  That's all just speculation, though.

In any event, this is probably not too big of an issue, considering 
FreeBSD 7 is approaching end-of-life.

-Phil


More information about the freebsd-java mailing list