8170494: JNI exception pending in PlainDatagramSocketImpl.c
Reviewed-by: clanger, vtewari
This commit is contained in:
parent
bd4dd311fd
commit
9f5bcd46f0
@ -1496,6 +1496,7 @@ jobject getMulticastInterface(JNIEnv *env, jobject this, int fd, jint opt) {
|
||||
CHECK_NULL_RETURN(ni_class, NULL);
|
||||
}
|
||||
ni = Java_java_net_NetworkInterface_getByInetAddress0(env, ni_class, addr);
|
||||
JNU_CHECK_EXCEPTION_RETURN(env, NULL);
|
||||
if (ni) {
|
||||
return ni;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user