This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: ZipInputStream brokenness
- From: Jeff Sturm <jsturm at one-point dot com>
- To: Jesse Rosenstock <jmr at ugcs dot caltech dot edu>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 2 Sep 2002 09:44:50 -0400 (EDT)
- Subject: Re: ZipInputStream brokenness
On Sun, 1 Sep 2002, Jesse Rosenstock wrote:
> Here's a program that demonstrates the intermittent nature of the problem
> (for me at least). Does anyone else get this behavior?
Yes.
[jsturm@mars jsturm]$ ./ZISTestLoop 100
.....
Exception on iteration 4 java.util.zip.ZipException: Wrong Local header
signaturef42283ec
.
Exception on iteration 5 java.util.zip.ZipException: Wrong Local header
signaturef42283ec
...
Exception on iteration 8 java.util.zip.ZipException: Wrong Local header
signaturef42283ec
.
[jsturm@mars jsturm]$ gcj -v
Reading specs from
/opt/gcc/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.3/specs
Reading specs from
/opt/gcc/lib/gcc-lib/alphaev56-unknown-linux-gnu/3.3/../../../libgcj.spec
rename spec lib to liborig
Configured with: /home/jsturm/gcc/configure --prefix=/opt/gcc
--enable-threads --with-as=/opt/src/bin/as --with-ld=/opt/src/bin/ld
Thread model: posix
gcc version 3.3 20020830 (experimental)
Anyhow, if I replace http: with a file: url in the test case above I can
not get a failure. So I'd first suspect the http protocol handler, not
java.util.zip.
Jeff