提交 99829d9c 编写于 作者: D dfuchs

8064470: JNI exception pending in jdk/src/java/base/unix/native/libjava/FileDescriptor_md.c

Reviewed-by: alanb, chegar, dfuchs
Contributed-by: vyom.tewari@oracle.com
上级 ba0e2b5f
......@@ -23,9 +23,11 @@
* questions.
*/
#include "jni.h"
#include "jni_util.h"
#include "jvm.h"
#include "io_util_md.h"
#include "io_util_md.h"
#include "java_io_FileDescriptor.h"
/*******************************************************************/
......@@ -41,7 +43,7 @@ jfieldID IO_fd_fdID;
JNIEXPORT void JNICALL
Java_java_io_FileDescriptor_initIDs(JNIEnv *env, jclass fdClass) {
IO_fd_fdID = (*env)->GetFieldID(env, fdClass, "fd", "I");
CHECK_NULL(IO_fd_fdID = (*env)->GetFieldID(env, fdClass, "fd", "I"));
}
/**************************************************************
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册