jdk/src/share/native/sun/awt/image/gif/gifdecoder.c
changeset 23892 9959956918be
parent 23644 0cdb97daeef5
equal deleted inserted replaced
23891:5b4c7da22eab 23892:9959956918be
   247 
   247 
   248                 RELEASE_ARRAYS();
   248                 RELEASE_ARRAYS();
   249                 /* fill the block */
   249                 /* fill the block */
   250                 len = (*env)->CallIntMethod(env, this, readID,
   250                 len = (*env)->CallIntMethod(env, this, readID,
   251                                             blockh, remain, blockLength + 1);
   251                                             blockh, remain, blockLength + 1);
       
   252                 if (len > blockLength + 1) len = blockLength + 1;
   252                 if ((*env)->ExceptionOccurred(env)) {
   253                 if ((*env)->ExceptionOccurred(env)) {
   253                     return 0;
   254                     return 0;
   254                 }
   255                 }
   255                 GET_ARRAYS();
   256                 GET_ARRAYS();
   256 
   257