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

PIT: GIFReaderSpi.getImageWriterSpiNames() is not updated to return the GIF Writer SPI name

XMLWordPrintable

    • b51
    • generic
    • generic
    • Verified

      Calling GIFReaderSpi.getImageWriterSpiNames() must return the spi names of the writers that can understand the internal metadata of GIF Reader. This method currently returns null even though the corresponding writer is available for the GIF format. Due to this, ImageIO.getImageWriter(ImageReader) method also returns null. The method mentioned in the synopsis must return the WriterSpi name of GIFWriter.

      This is reproducible on all platforms using the following PIT build:
      java version "1.6.0-2d.pit-jcg-win-03"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.6.0-2d.pit-jcg-win-03-java2d_23_may_2005_02_25-b00)
      Java HotSpot(TM) Client VM (build 1.6.0-ea-b37, mixed mode)

      I have attached a sample test that reproduces this bug.
      ###@###.### 2005-05-24 10:34:00 GMT

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: