This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]