8046888: JNI exception pending in jdk/src/share/native/sun/awt/image/awt_parseImage.c

Reviewed-by: prr, serb
This commit is contained in:
Anton Melnikov 2014-07-22 11:38:22 +04:00 committed by Petr Pchelko
parent df01b0f397
commit e7f9a95e71

View File

@ -508,6 +508,7 @@ int awt_parseColorModel (JNIEnv *env, jobject jcmodel, int imageType,
cmP->csType = (*env)->GetIntField(env, cmP->jcmodel, g_CMcsTypeID);
cmP->cmType = getColorModelType(env, jcmodel);
JNU_CHECK_EXCEPTION_RETURN(env, -1);
cmP->isDefaultCM = FALSE;
cmP->isDefaultCompatCM = FALSE;