提交 095c105e 编写于 作者: P pchelko

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

Reviewed-by: anthony, serb
上级 9b1ead96
...@@ -46,14 +46,20 @@ Java_java_awt_Insets_initIDs(JNIEnv *env, jclass cls) { ...@@ -46,14 +46,20 @@ Java_java_awt_Insets_initIDs(JNIEnv *env, jclass cls) {
TRY; TRY;
AwtInsets::leftID = env->GetFieldID(cls, "left", "I"); AwtInsets::leftID = env->GetFieldID(cls, "left", "I");
AwtInsets::rightID = env->GetFieldID(cls, "right", "I");
AwtInsets::topID = env->GetFieldID(cls, "top", "I");
AwtInsets::bottomID = env->GetFieldID(cls, "bottom", "I");
DASSERT(AwtInsets::leftID != NULL); DASSERT(AwtInsets::leftID != NULL);
CHECK_NULL(AwtInsets::leftID);
AwtInsets::rightID = env->GetFieldID(cls, "right", "I");
DASSERT(AwtInsets::rightID != NULL); DASSERT(AwtInsets::rightID != NULL);
CHECK_NULL(AwtInsets::rightID);
AwtInsets::topID = env->GetFieldID(cls, "top", "I");
DASSERT(AwtInsets::topID != NULL); DASSERT(AwtInsets::topID != NULL);
CHECK_NULL(AwtInsets::topID);
AwtInsets::bottomID = env->GetFieldID(cls, "bottom", "I");
DASSERT(AwtInsets::bottomID != NULL); DASSERT(AwtInsets::bottomID != NULL);
CHECK_NULL(AwtInsets::bottomID);
CATCH_BAD_ALLOC; CATCH_BAD_ALLOC;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册