Thanks all for telling:

I've filled the following bug in bugzilla:
http://issues.apache.org/bugzilla/show_bug.cgi?id=28496 
which actually is about FileUtils.copyFile(src, dest).

Probably nobody has been so fool to set src = dest, but
if you do, you will shrink src dimension to 0 bytes,
and the code will not raise an eyebrow because at the
end size(src) = size(dest) = 0 (so no IOException is raised).

By the way I'm in the mood of studying both junit and cvs,
but frankly I've found them too feature-rich for my limited
comprehension  :-( .

thanks for listening
daniele rizzi

 



Scrive Stephen Colebourne <[EMAIL PROTECTED]>:

> Yes, write the junit test to prove the problem, then solve it if you can
> (take advice from the mailing list if not), finally post patches to bugzilla
> (use cvs diff -u format).
> 
> Stephen
> 
> ----- Original Message -----
> From: "J�rg Schaible" <[EMAIL PROTECTED]>
> > Hi,
> >
> > I suspect I met a bug in org.apache.commons.io.FileUtils:
> > what should I do?
> (3) > *- AND should I go to the bugs tracking apps in apache.org?
> (1) > *- AND should I write a junit class showing the point?
> (2) > *- AND else write a patch?
> > *- or instead keep it for myself?
> >
> > Please tell me ASAP.
> 
> In the order above.
> 
> -- J�rg
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 



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

Reply via email to