# HG changeset patch # User igerasim # Date 1553196538 25200 # Node ID 35e8d1eb4040c12e968f505fcba6e79a923b4772 # Parent 3fe41815505c3454b90e869f26321152b7c693b2 8170494: JNI exception pending in PlainDatagramSocketImpl.c Reviewed-by: clanger, vtewari diff -r 3fe41815505c -r 35e8d1eb4040 src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c --- a/src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c Thu Mar 21 11:58:00 2019 -0700 +++ b/src/java.base/unix/native/libnet/PlainDatagramSocketImpl.c Thu Mar 21 12:28:58 2019 -0700 @@ -1496,6 +1496,7 @@ 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; }