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

ImageIO.createImageInputStream() fails for RandomAccessFile

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.4.0
    • 1.4.0
    • client-libs
    • None
    • beta
    • x86, sparc
    • solaris_2.5, solaris_8
    • Verified

      FileImageInputStream is not returned by the method ImageIO.createImageInputStream(Object input ), while passing the RandomAccessFile as the input.

      To reproduce the bug run the attached code. This will display a frame with a "load " button and a textfield. Click on the load button. A duke image will be loaded and the textfied message should not be "FileImageInputStream Passed". If the image is not rendered and the" FileInputStream Failed" message is appearing on the textfield, then the bug is reproduced.

            dricesunw Daniel Rice (Inactive)
            esubramasunw Elancheran Subramanian (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: