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

JarImageSource only works once

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.1.4
    • tools
    • None
    • jar
    • generic
    • generic

      which isn't good enough. Say, for example, an applet gets an image out
      of a Jar and renders it (in reduced form) on the screen. Later, the
      applet attempts to print the image. Because of the greater resolution
      available, the AWT image code will attempt to re-fetch the image,
      but JarImageSource's input stream will be positioned to the end.

      Sorry, I don't have a test case to reproduce this -- I just noticed it
      while inspecting the source.

            Unassigned Unassigned
            bfootesunw Bill Foote (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: