mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-14 12:25:21 +00:00
8036781: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_PrintDialog.cpp
Reviewed-by: serb, pchelko
This commit is contained in:
parent
ded54fe504
commit
f013fa9bc7
@ -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;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user