JEditor pane doesn't load images correctly from JARs

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P2
    • None
    • Affects Version/s: 1.1
    • Component/s: tools
    • None
    • jar
    • sparc
    • solaris_2.6

      JEditorPane does not load images from JAR files if the file that
      references it contains a content attribute in a <META> tag. For
      example:

      <META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">

      Two interesting notes:

      - If the image is first loaded and cached by a file that doesn't
        contain the <META> tag, it will subsequently load in a file that
        DOES contain the <META> tag.

      - The same image is loaded correctly when the referencing file is
        loaded from the file system (as opposed to a JAR file).

      I've attached a very simple JavaHelp HelpSet that demonstrates
      the problem and would be happy to show it to whoever is lucky
      enough to work on this.

      Larry

            Assignee:
            Zhenghua Li (Inactive)
            Reporter:
            Larry Hoffman (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: