8036761: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_TextComponent.cpp
Reviewed-by: anthony, serb
--- a/jdk/src/windows/native/sun/windows/awt_TextComponent.cpp Thu Mar 06 15:05:41 2014 +0400
+++ b/jdk/src/windows/native/sun/windows/awt_TextComponent.cpp Thu Mar 06 15:29:23 2014 +0400
@@ -852,9 +852,10 @@
TRY;
jclass textComponentClassID = env->FindClass("java/awt/TextComponent");
+ CHECK_NULL(textComponentClassID);
+
AwtTextComponent::canAccessClipboardMID =
- env->GetMethodID(textComponentClassID,
- "canAccessClipboard", "()Z");
+ env->GetMethodID(textComponentClassID, "canAccessClipboard", "()Z");
env->DeleteLocalRef(textComponentClassID);
DASSERT(AwtTextComponent::canAccessClipboardMID != NULL);