Hi, Just created some Adler32 tests for mauve. It seems there are two bugs in the default kaffe (zlib based) Adler32 implementation. The checksum starts at 1, not 0. And the checksum is an unsigned int returned as long:
2005-09-01 Mark Wielaard <[EMAIL PROTECTED]>
* libraries/javalib/java/util/zip/Adler32.java
(Adler32): Set adler to 1.
(reset): Likewise.
(getValue): Return unsigned int value.
With this all the new mauve tests pass.
But please check carefully since I didn't find any official adler32 test
vectors.
Cheers,
Mark
--
Escape the Java Trap with GNU Classpath!
http://www.gnu.org/philosophy/java-trap.html
Join the community at http://planet.classpath.org/
signature.asc
Description: This is a digitally signed message part
_______________________________________________ kaffe mailing list [email protected] http://kaffe.org/cgi-bin/mailman/listinfo/kaffe
