commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "" <daniele.ri...@essellesse.net>
Subject Re: [io] have I found a bug? should I tell to anyone?
Date Wed, 21 Apr 2004 07:31:27 GMT

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 <scolebourne@btopenworld.com>:

> 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" <Joerg.Schaible@Elsag-Solutions.com>
> > 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: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: commons-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: commons-user-help@jakarta.apache.org
> 
> 



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


Mime
View raw message