8046888: JNI exception pending in jdk/src/share/native/sun/awt/image/awt_parseImage.c
Reviewed-by: prr, serb
This commit is contained in:
parent
df01b0f397
commit
e7f9a95e71
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user