ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: FW: ConcurrentModificationException
Date Tue, 15 Jul 2003 06:47:43 GMT
On Mon, 14 Jul 2003, Adam Jack <ajack@trysybase.com> wrote:

> As such, I can't understand why/how this code ever works/worked, yet
> it has -- for quite a while.

The answer is that we used Vector#elements instead of Vector#iterator
until some time last week - and while Iterator is fail-fast and
generates the Exception you see, the Enumeration is not (but its
behavior is not well defined).

We'll have to give the case of the pseudo-target for top-level tasks
in combination with <import> another thought, I guess.

Stefan

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


Mime
View raw message