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

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

XMLWordPrintable

    • b01
    • b15
    • Verified

        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");

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

                Created:
                Updated:
                Resolved: