You are viewing a plain text version of this content. The canonical link for it is here.
Posted to axis-cvs@ws.apache.org by di...@apache.org on 2007/06/22 22:45:46 UTC

svn commit: r549954 - /webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java

Author: dims
Date: Fri Jun 22 13:45:45 2007
New Revision: 549954

URL: http://svn.apache.org/viewvc?view=rev&rev=549954
Log:
Fix for AXIS2-1053 - ConcurrentModificationException when concurrent threads try to engage the Addressing module

Modified:
    webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java

Modified: webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java
URL: http://svn.apache.org/viewvc/webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java?view=diff&rev=549954&r1=549953&r2=549954
==============================================================================
--- webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java (original)
+++ webservices/axis2/trunk/java/modules/kernel/src/org/apache/axis2/engine/Phase.java Fri Jun 22 13:45:45 2007
@@ -110,7 +110,7 @@
      * @param handlerDesc the HandlerDescription to add
      * @throws PhaseException if there is a problem
      */
-    public void addHandler(HandlerDescription handlerDesc) throws PhaseException {
+    public synchronized void addHandler(HandlerDescription handlerDesc) throws PhaseException {
         Iterator handlers_itr = getHandlers().iterator();
 
         while (handlers_itr.hasNext()) {



---------------------------------------------------------------------
To unsubscribe, e-mail: axis-cvs-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-cvs-help@ws.apache.org