Am 13.06.2013, 22:47 Uhr, schrieb Alan Bateman :
Yes, it looks like close is missing in a few places (but probably hasn't
been noticed as it's unlikely that the setsockopt will fail).
Linux Kernel is using in those situations an error-out label.
if () {
Throw...
goto error;
}
...
error:
On 13/06/2013 20:34, John Zavgren wrote:
Greetings:
Why does the procedure:
Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate(...), defined
in the file: jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c,
close the given socket before returning after an error in some cases,
but n
Greetings:
Why does the procedure:
Java_java_net_PlainDatagramSocketImpl_datagramSocketCreate(...), defined
in the file: jdk/src/solaris/native/java/net/PlainDatagramSocketImpl.c,
close the given socket before returning after an error in some cases,
but not others? Shouldn't the behaviour be the