Calling MimeMessage#setRecipients with empty array causes 
ArrayOutOfBoundsException
-----------------------------------------------------------------------------------

                 Key: GERONIMO-4339
                 URL: https://issues.apache.org/jira/browse/GERONIMO-4339
             Project: Geronimo
          Issue Type: Bug
      Security Level: public (Regular issues)
          Components: mail
         Environment: All
            Reporter: Andreas Veithen
            Priority: Minor
         Attachments: GERONIMO-4339.patch.txt

Calling MimeMessage#setRecipients with an empty array triggers an 
ArrayOutOfBoundsException in InternetHeaders#setHeader(String, Address[]). This 
is caused by an incorrectly constructed if statement in setHeader.


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to