[PATCH] for bug #756(Ant doesn't work)

Archie Cobbs archie at dellroad.org
Tue Mar 6 19:28:19 PST 2001


Takashi Okamoto writes:
> I made patch for bug #756 that Jakartra-Ant (Java Build tool) doesn't
> work with Kaffe. Error occurs when buffer length (len) is 0 at
> write(byte[] buf, int off, int len) method  in
> java/util/zip/ZipOutputStream.java and java/util/zip/DeflateOutputStream.java
> 
> My patch throw IndexOutOfBoundsException() when offset (off) and
> length (len) are invalid, and exit method when length is 0.
> (I refered SUN's java/util/zip/* and modified them.)
> 
> Ant will be one of most important software for Java. 
> Please fix this problem.

Should be fixed.

Thanks,
-Archie

__________________________________________________________________________
Archie Cobbs     *     Packet Design     *     http://www.packetdesign.com


More information about the kaffe mailing list