[ http://jira.codehaus.org/browse/XFIRE-780?page=comments#action_81373 ] Bernd Schuller commented on XFIRE-780: --------------------------------------
yes, we had this problem. In our client, we had some setup code DefaultXFIre xfire=.... xfire.addHandler(...) and ran several of these concurrently. Of course it's our programming error to do so, but still it's a situation where the addHandler() might be called concurrently. > Adding handlers on the DefaultXFire instance should be synchronized > ------------------------------------------------------------------- > > Key: XFIRE-780 > URL: http://jira.codehaus.org/browse/XFIRE-780 > Project: XFire > Issue Type: Improvement > Components: Core > Affects Versions: 1.2.2 > Environment: java 1.5, Linux > Reporter: Bernd Schuller > Assigned To: Tomasz Sztelak > Priority: Minor > > On the DefaultXFire / AbstractHandlerSupport class, adding handlers is not > synchronized. This may cause ConcurrentModificationExceptions when running > multithreaded client code. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
