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

JAF initialisation in SAAJ clashing with the one in javax.mail

    Details

    • Subcomponent:
    • Introduced In Build:
      b01
    • Introduced In Version:
    • Resolved In Build:
      b15
    • Verification:
      Verified

      Backports

        Description

        After initialisation of SAAJ components the JAF handlers defined defined by javax.mail don't work.
        Attached testcase, containing workaround - after SAAJ initialisation, re-initialise javax.mail handler:
        -------------------
        MailcapCommandMap mailMap = (MailcapCommandMap) CommandMap.getDefaultCommandMap();
        mailMap.addMailcap("multipart/mixed;;x-java-content-handler=com.sun.mail.handlers.multipart_mixed");

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  mkos Miroslav Kos (Inactive)
                  Reporter:
                  mkos Miroslav Kos (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  10 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: