ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 11675] - Broken checksum condition fileset handling
Date Wed, 21 Aug 2002 19:56:35 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11675>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11675

Broken checksum condition fileset handling





------- Additional Comments From tom.patrick@insurance.sungard.com  2002-08-21 19:56 -------
I also discovered this bug yesterday.  Instead of continuing to process files
after a checksum mismatch why not just return checksumMatches/false immediately?

                            if (!(checksumMatches =
                                checksum.equals(suppliedChecksum))) {
                                log(algorithm + " checksum failed for " + src);
                                return false;
                            }

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message