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

PIT: Animated GIF images created by GIF Writer are not loaded properly by Toolkit API.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 6
    • 6
    • client-libs
    • b51
    • generic
    • generic
    • Verified

      I am creating an Animated GIF image using ImageIO GIF Writer with a set of transparent GIF image frames. I am trying to load all the image frames and also the animated GIF image using Toolkit.getImage() API. On the current PIT build (b47), the animated GIF image is not getting loaded properly and it appears blank. This is noticed on all platforms.

      Here is the PIT build:
      java version "1.6.0-2d.pit_jcg_win_02"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit_jcg_win_02-java2d_04_aug_2005_00_56-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b45, mixed mode)

      This is not reproducible on Mustang-b46 and looks like this is a regression caused by - 6287880.

      I have attached a tar file. Untar it and compile WriterTest.java. Run it as follows:
      java WriterTest <dir name containing the image frames>
      You would see a frame loaded with all the image frames and the animated GIF image. If the animated gif image (last one loaded) appears blank, the bug is reproduced.

            bae Andrew Brygin
            pmohansunw Praveen Mohan (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: