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

WriteToSequenceAfterAbort test would fail if run on a GIF or a JPEG image

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • 9
    • client-libs
    • None

      The test javax/imageio/plugins/tiff/WriteToSequenceAfterAbort.java was added as part of the resolution of JDK-8144245. If at line 301 of this test the format were changed from "TIFF" to either "GIF" or "JPEG" then the test would fail.

      Note that it is conceivable that this is because the image type is BufferedImage.TYPE_BYTE_BINARY which might be incompatible with the respective writers. It is also possible that the test is not constructed appropriately for the other formats. It would be worth evaluating however whether it works with the correct data for these other formats.

            jdv Jayathirth D V
            bpb Brian Burkhalter
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: