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

Reviewed-by: serb, pchelko
This commit is contained in:
Alexander Scherbatiy 2014-03-11 19:28:11 +04:00
parent ded54fe504
commit f013fa9bc7

View File

@ -172,11 +172,13 @@ Java_sun_awt_windows_WPrintDialogPeer_initIDs(JNIEnv *env, jclass cls)
AwtPrintDialog::parentID =
env->GetFieldID(cls, "parent", "Lsun/awt/windows/WComponentPeer;");
DASSERT(AwtPrintDialog::parentID != NULL);
CHECK_NULL(AwtPrintDialog::parentID);
AwtPrintDialog::setHWndMID =
env->GetMethodID(cls, "setHWnd", "(J)V");
DASSERT(AwtPrintDialog::parentID != NULL);
DASSERT(AwtPrintDialog::setHWndMID != NULL);
CHECK_NULL(AwtPrintDialog::setHWndMID);
CATCH_BAD_ALLOC;
}