mirror of
https://github.com/openjdk/jdk.git
synced 2026-05-19 18:07:49 +00:00
8036759: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_AWTEvent.cpp
Reviewed-by: anthony, serb
This commit is contained in:
parent
3c9e8bee0c
commit
eaa221b268
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user