I think this is due to a change of using
an iterator instead of a enumerator.

The test code in question was inserting tasks
into the current target, and this does not
seem to be a good idea.

I moved the place where the task is being placed
to another target and the test passes.

Peter
Conor wrote:
>I'm currently getting a failure in 
>org.apache.tools.ant.taskdefs.optional.RhinoScriptTest

>It is a concurrent modification
>    [junit] java.util.ConcurrentModificationException
>    [junit]     at 
>java.util.AbstractList$Itr.checkForComodification(AbstractList.java:444)
>    [junit]     at java.util.AbstractList$Itr.next(AbstractList.java:417)
>    [junit]     at org.apache.tools.ant.Target.execute(Target.java:314)
>    [junit]     at org.apache.tools.ant.Target.performTasks(Target.java:344)
>

>Not sure if it is related to recent changes ...




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to