[OpenJDK 2D-Dev] [8] request for review: 4892259 GIF ImageReader does not call passComplete in IIOReadUpdateListener

Vadim Pakhnushev vadim.pakhnushev at oracle.com
Mon Nov 19 19:15:07 UTC 2012


Hi,

Please review a fix for bug 4892259:
http://bugs.sun.com/view_bug.do?bug_id=4892259
http://cr.openjdk.java.net/~bae/4892259/webrev.00/

Actually GIFImageReader should not call neither passComplete, nor 
passStarted for non-interlaced images in the first place.
So the fix is to check whether the image is interlaced or not and skip 
startPass method entirely in case of interlaced image.
passComplete is called only for interlaced images.

Thanks,
Vadim




More information about the 2d-dev mailing list