ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 39119] - Property tasks cause slow performance
Date Mon, 27 Mar 2006 20:10:41 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39119>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39119





------- Additional Comments From neil@ofoto.com  2006-03-27 21:10 -------
Patch of trial fix:

src/main/org/apache/tools/ant/Project.java
310,317c310,315
<         if (!listeners.contains(listener)) {
<             // create a new Vector to avoid ConcurrentModificationExc when
<             // the listeners get added/removed while we are in fire
<             Vector newListeners = getBuildListeners();
<             newListeners.addElement(listener);
<             listeners = newListeners;
<         }
<     }
---
>         // create a new Vector to avoid ConcurrentModificationExc when
>         // the listeners get added/removed while we are in fire
>         Vector newListeners = getBuildListeners();
>         newListeners.addElement(listener);
>         listeners = newListeners;
>       }

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message