I'm not sure this is enough to safely run some code like e.g. ExtendedEmailPublisher.getContent(...) from two threads simultaneously. If I'm not mistaken, such a method is not thread-safe by default: it would have to be 'synchronized'. As it's not, the two instances may call this method at the same time, and thus use a single set of 'text', 'messageContentType' and 'msgPart' variables.

Did I miss something?

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to