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

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

    XMLWordPrintable

Details

    • b01
    • b15
    • 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

          1. Test.java
            3 kB
            Miroslav Kos

          Issue Links

            Activity

              People

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

                Dates

                  Created:
                  Updated:
                  Resolved: