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 9609] - AntClassLoader.buildFinished() removes itself from "live" Project.buildListener list
Date Wed, 05 Jun 2002 23:03:31 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9609>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=9609

AntClassLoader.buildFinished() removes itself from "live" Project.buildListener list

conor@cortexebusiness.com.au changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From conor@cortexebusiness.com.au  2002-06-05 23:03 -------
Fixed on 1.5 branch.

AntClassLoader removes itself to improve its chances of being garbage collected
so it should still be done.

I have changed getBuildListeners to return a cloned list which makes it safe to
iterate over the list. It is the only safe thing to do and in fact it was clear
that Project should be getting a cloned list for its own iterations.

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


Mime
View raw message