提交 53e25e57 编写于 作者: M michaelm

8028725: [Parfait] warnings from b116 for jdk.src.solaris.native.java.net: JNI pending exceptions

Reviewed-by: alanb
上级 3356b65e
...@@ -555,6 +555,7 @@ Java_java_net_Inet6AddressImpl_getHostByAddr(JNIEnv *env, jobject this, ...@@ -555,6 +555,7 @@ Java_java_net_Inet6AddressImpl_getHostByAddr(JNIEnv *env, jobject this,
if (!error) { if (!error) {
ret = (*env)->NewStringUTF(env, host); ret = (*env)->NewStringUTF(env, host);
CHECK_NULL(ret);
} }
#endif /* AF_INET6 */ #endif /* AF_INET6 */
......
...@@ -349,6 +349,7 @@ Java_java_net_Inet6AddressImpl_getHostByAddr(JNIEnv *env, jobject this, ...@@ -349,6 +349,7 @@ Java_java_net_Inet6AddressImpl_getHostByAddr(JNIEnv *env, jobject this,
if (!error) { if (!error) {
ret = (*env)->NewStringUTF(env, host); ret = (*env)->NewStringUTF(env, host);
CHECK_NULL(ret);
} }
if (ret == NULL) { if (ret == NULL) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册