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

JAF should find META-INF/mailcap files everywhere in CLASSPATH on JDK 1.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Fixed
    • Affects Version/s: 1.0.1fcs
    • Fix Version/s: 1.0.2
    • Component/s: other-libs
    • Labels:
      None
    • Subcomponent:
    • Resolved In Build:
      1.0.2
    • CPU:
      generic
    • OS:
      generic
    • Verification:
      Not verified

      Description

      The javax.activation.MailcapCommandMap class only
      looks at the first META-INF/mailcap file in the
      CLASSPATH, instead of merging the content of all
      of them.

      This seriously degrades the ability to ship a set
      of classes and their corresponding mailcap file,
      and expect it to reliably work in an end-user's
      environment. For eaxample, if the javamail mail.jar
      file is in the standard extensions dircectory
      of a JDK1.2 installation, the mailcap file from
      there is selected in preference to the one shipped
      with a set of classes to handle a specific function
      or datatype.

      (Review ID: 38760)

        Attachments

          Activity

            People

            Assignee:
            bshannon Bill Shannon (Inactive)
            Reporter:
            mchamnessunw Mark Chamness (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: