# HG changeset patch # User pchelko # Date 1406014702 -14400 # Node ID ea7a0846cb6fcc87c1e60beb4b317b9d0b3d333a # Parent ca104ec6b3e7496c55100a1bcb54f8fa88076847 8046888: JNI exception pending in jdk/src/share/native/sun/awt/image/awt_parseImage.c Reviewed-by: prr, serb Contributed-by: Anton Melnikov diff -r ca104ec6b3e7 -r ea7a0846cb6f jdk/src/share/native/sun/awt/image/awt_parseImage.c --- a/jdk/src/share/native/sun/awt/image/awt_parseImage.c Mon Jul 21 21:41:11 2014 +0400 +++ b/jdk/src/share/native/sun/awt/image/awt_parseImage.c Tue Jul 22 11:38:22 2014 +0400 @@ -508,6 +508,7 @@ 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;