This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libgcj/27271] i/o error (java.util.zip.ZipException: Deflated stream ends early.)
- From: "tromey at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 12 Jul 2006 17:00:58 -0000
- Subject: [Bug libgcj/27271] i/o error (java.util.zip.ZipException: Deflated stream ends early.)
- References: <bug-27271-11764@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #5 from tromey at gcc dot gnu dot org 2006-07-12 17:00 -------
Subject: Bug 27271
Author: tromey
Date: Wed Jul 12 17:00:49 2006
New Revision: 115378
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=115378
Log:
PR libgcj/27271:
* java/util/zip/ZipFile.java (getInputStream): Call addDummyByte
on PartialInputStream.
(PartialInputStream.dummyByteCount): New field.
(PartialInputStream.fillBuffer): Handle dummy byte.
(PartialInputStream.read): Likewise.
(PartialInputStream.addDummyByte): New method.
Modified:
trunk/libjava/classpath/ChangeLog.gcj
trunk/libjava/classpath/java/util/zip/ZipFile.java
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27271