8170494: JNI exception pending in PlainDatagramSocketImpl.c

Reviewed-by: clanger, vtewari
This commit is contained in:
Ivan Gerasimov 2019-03-21 12:28:58 -07:00
parent bd4dd311fd
commit 9f5bcd46f0

View File

@ -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;
}