# HG changeset patch # User pchelko # Date 1394105363 -14400 # Node ID 4494f1fd1f5740dcd777e532483a639c6bed5481 # Parent bb223c2c6fc0955559e1a633d77f6b8f627a4ec6 8036761: [parfait] JNI exception pending in jdk/src/windows/native/sun/windows/awt_TextComponent.cpp Reviewed-by: anthony, serb diff -r bb223c2c6fc0 -r 4494f1fd1f57 jdk/src/windows/native/sun/windows/awt_TextComponent.cpp --- 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);