test javax/imageio/plugins/png/PngCreationTime fails

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: None
    • Component/s: client-libs
    • None

      test javax/imageio/plugins/png/PngCreationTime was just checked in
      under bug https://bugs.openjdk.java.net/browse/JDK-8164971
      but it is failing to find the required file duke.png, so
                      imageStream = ImageIO.createImageInputStream(file);
      returns null and then we get an exception from the reader.
      Exception in thread "main" java.lang.IllegalStateException: Input source not set!
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readHeader(PNGImageReader.java:227)
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readMetadata(PNGImageReader.java:678)
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.readImage(PNGImageReader.java:1310)
      at java.desktop/com.sun.imageio.plugins.png.PNGImageReader.read(PNGImageReader.java:1674)
      at PngCreationTimeTest.initializeTest(PngCreationTimeTest.java:79)
      at PngCreationTimeTest.main(PngCreationTimeTest.java:349)

      the file "duke.png" was in the webrev but apparenyl was not checked
      in along with the fix.
      We need to fix this immediately or problem list it.

            Assignee:
            Prahalad Kumar Narayanan (Inactive)
            Reporter:
            Philip Race
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: