re PR libgcj/25713 (GZIPOutputStream bad checksum)
libjava PR libgcj/25713: * java/util/zip/Deflater.java (flush): New method. * sources.am, Makefile.in: Rebuilt. * java/util/zip/DeflaterOutputStream.java: Removed. * java/util/zip/InflaterInputStream.java: Likewise. * java/util/zip/GZIPInputStream.java: Likewise. * java/util/zip/GZIPOutputStream.java: Likewise. libjava/classpath For PR libgcj/25713: * java/util/zip/InflaterInputStream.java (read): Replaced with libgcj implementation. From-SVN: r111949
This commit is contained in:
parent
21f9ec0c6a
commit
ea725d4524
10 changed files with 48 additions and 878 deletions
|
@ -1,5 +1,5 @@
|
|||
/* Deflater.java - Compress a data stream
|
||||
Copyright (C) 1999, 2000, 2001, 2004 Free Software Foundation, Inc.
|
||||
Copyright (C) 1999, 2000, 2001, 2004, 2006 Free Software Foundation, Inc.
|
||||
|
||||
This file is part of GNU Classpath.
|
||||
|
||||
|
@ -325,4 +325,10 @@ public class Deflater
|
|||
* already called or another dictionary was already set.
|
||||
*/
|
||||
public native void setDictionary(byte[] buf, int off, int len);
|
||||
|
||||
// Classpath's compression library supports flushing, but we
|
||||
// don't. So this is a no-op here.
|
||||
void flush()
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue