Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4892259

GIF ImageReader does not call passComplete in IIOReadUpdateListener

    XMLWordPrintable

Details

    • b91
    • generic, x86
    • generic, linux_sun

    Description

      GIF ImageReader calls IIOReadUpdateListener.passStarted() when reading a GIF image but does not call any passComplete. All other ImageReaders are consistent in calling a passComplete() when they call a passStarted() for a particular pass. It would be nice if GIF ImageReader also does the same thing in order to avoid the inconsistency.

      This is reproducible right from JDK1.4+ on Solaris as well as Win32 platforms.
      I have attached a sample code in which a GIF ImageReader reads an animated gif from a file. Execute the sample code. You would see a set of passStarted() calls but passComplete() would never be called during the read process.
      CR 5096514 was closed as duplicate for this CR.
      tested jdk 7 b59.

      failed tests with crash:
      TEST Testcase ReadListenerCrashTest 11/45 146/271 FAIL
      TEST Testcase WriteListenerCrashTest 12/45 147/271 FAIL

      Results:
      /net/vice.russia.sun.com/export/home0/results/1.7.0_fcs/b59/2d/winxppro-i586/1.7.0_fcs_b59_winxppro-i586_01

      crash logs attached.

      Attachments

        Issue Links

          Activity

            People

              vadim Vadim Pakhnushev
              pmohansunw Praveen Mohan (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: