提交 cab11ae3 编写于 作者: P pchelko

8036759: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_AWTEvent.cpp

Reviewed-by: anthony, serb
上级 9fc3229d
......@@ -71,12 +71,16 @@ Java_java_awt_AWTEvent_initIDs(JNIEnv *env, jclass cls)
TRY;
AwtAWTEvent::bdataID = env->GetFieldID(cls, "bdata", "[B");
AwtAWTEvent::idID = env->GetFieldID(cls, "id", "I");
AwtAWTEvent::consumedID = env->GetFieldID(cls, "consumed", "Z");
DASSERT(AwtAWTEvent::bdataID != NULL);
CHECK_NULL(AwtAWTEvent::bdataID);
AwtAWTEvent::idID = env->GetFieldID(cls, "id", "I");
DASSERT(AwtAWTEvent::idID != NULL);
CHECK_NULL(AwtAWTEvent::idID);
AwtAWTEvent::consumedID = env->GetFieldID(cls, "consumed", "Z");
DASSERT(AwtAWTEvent::consumedID != NULL);
CHECK_NULL(AwtAWTEvent::consumedID);
CATCH_BAD_ALLOC;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册