[OpenJDK 2D-Dev]  request for review: 4892259 GIF ImageReader does not call passComplete in IIOReadUpdateListener
philip.race at oracle.com
Mon Nov 19 23:47:10 UTC 2012
So I take it that you confirmed interlaced images do *not* exhibit this
Its not obvious from the bug report that its only non-interlaced images
that are the issue.
I suppose a non-interlaced image could be considered a single pass but
I can't find anywhere that we mandated such a behaviour and it would seem
odd for many formats to require it.
Can we include a regression test for this fix ?
On 11/19/2012 11:15 AM, Vadim Pakhnushev wrote:
> Please review a fix for bug 4892259:
> 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.
More information about the 2d-dev