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 21296] - Some peephole optimizations
Date Sat, 05 Jul 2003 12:15:00 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=21296>.
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=21296

Some peephole optimizations





------- Additional Comments From conor@cortexebusiness.com.au  2003-07-05 12:14 -------
Regarding listener cloning, it is a side effect of using the getBuildListeners()
method. This is used, in general, because Listeners can unregister themselves
when they receive a BuildEvent. This is typically done in the BuildFinished
event and causes a error in the processing of the listeners, typically the next
listener not receiving the event and possibly a NoSuchElement or similar exception.

Whether it is safe to assume that listeners cannot remove themselves when
processing message events, I'm not sure. If it is, this "contract" can be
enforced through checking the loggingMessage boolean.

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


Mime
View raw message