jar and zip fixes

Bryce McKinlay bryce@mckinlay.net.nz
Mon Oct 27 01:37:00 GMT 2003


On Oct 27, 2003, at 1:46 PM, Mark Wielaard wrote:

> 2003-10-26  Mark Wielaard  <mark@klomp.org>
>
>         Reported by Helmer Kraemer <hkraemer@freenet.de>
>         * java/util/jar/JarInputStream.java (readManifest): Don't call
>         closeEntry().
>
>         * java/util/zip/DeflaterOutputStream.java (inbufWrite): New 
> method.
>         (finish): Use inbufWrite().
>         (write(int)): Likewise.
>         (write(byte[],int,int)): Likewise.

OK, thanks.

> There is still one zip related failure in mauve:
> FAIL: gnu.testlet.java.util.zip.InflaterInputStream.basic: compressing 
> string (number 2)
> But this is caused by incorrect PrintStream flushing. I have not yet
> looked for a fix.

See: http://gcc.gnu.org/ml/java-patches/2003-q3/msg00307.html

Its probably related.

Regards

Bryce.




More information about the Java-patches mailing list