I patched this this morning, I think.


On 7 Oct 2004 16:15:36 -0000, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> mbenson 2004/10/07 09:15:36
>
> Modified: src/main/org/apache/tools/ant/taskdefs/optional/junit
> JUnitTask.java
> Log:
> Make Gump happy
>
> Revision Changes Path
> 1.108 +7 -3 ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java
>
> Index: JUnitTask.java
> ===================================================================
> RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/taskdefs/optional/junit/JUnitTask.java,v
> retrieving revision 1.107
> retrieving revision 1.108
> diff -u -r1.107 -r1.108
> --- JUnitTask.java 6 Oct 2004 15:48:15 -0000 1.107
> +++ JUnitTask.java 7 Oct 2004 16:15:36 -0000 1.108
> @@ -778,8 +778,12 @@
> Project.MSG_WARN);
> }
>
> - CommandlineJava cmd = (CommandlineJava) getCommandline().clone();
> -
> + CommandlineJava cmd = null;
> + try {
> + cmd = (CommandlineJava)(getCommandline().clone());
> + } catch (CloneNotSupportedException e) {
> + throw new BuildException("This shouldn't happen", e, getLocation());
> + }
>


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



Reply via email to