This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: bug in ZipInputStream
- From: Per Bothner <per at bothner dot com>
- To: Erik Poupaert <erik dot poupaert at chello dot be>
- Cc: java at gcc dot gnu dot org
- Date: Sat, 14 Dec 2002 11:37:04 -0800
- Subject: Re: bug in ZipInputStream
- References: <POEIJGMGPFPGFHAGKFHAMEALCDAA.erik.poupaert@chello.be>
Erik Poupaert wrote:
I think I am the latest victim of the notorious java.util.zip.ZipInputStream
bug. Google is bulking with reports on it. I think the bug is slowly but
surely taking over the world.
I'm talking about the latest and the greatest release candidate
gcj-3.2-20021210-1.tar.gz; and it's still in there!
I was trying to read from the executable's core with Anthony Green's "core
protocol" stuff; which works brilliantly by the way, and shove the
inputstream received from the core into a ZipInputStream. Believe it or not,
the bytecount is there, and all is well for several entries, until I do
getNextEntry() on a non-directory ZipEntry, and then it all flies in my
face. I tried remediate by shoving in jazzlib; in vain, it complains about
UTF-8 stuff. It's dead too in gcj.
There was a bug (PR 8234), but Tom Tromey checked in a fix for that.
If you have some new bug, please send in a proper bug report, with a
repeatable complete test case. Look at PR 8234, which allowed Tom
to finally track down a bug, after lots of past but useless complaints.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/