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 [EMAIL PROTECTED]  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to