[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Bug in Java.Util.Zip

From: Mike Krueger
Subject: Bug in Java.Util.Zip
Date: Fri, 14 Dec 2001 09:48:06 +0100


I've found a bug in Java.Util.Zip :

When you compress files with the zipstream with deflatefast
(compression level 1-3) sometimes an exception is throwed.

If I change in DeflaterHuffman the isFull method from :
 return last_lit == BUFSIZE;


 return last_lit + 16 >= BUFSIZE;

the bug seems to have gone away, but I'm not sure that is the
case for all cases.


Join the worldÂ’s largest e-mail service with MSN Hotmail.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]