This is the mail archive of the
java-prs@sourceware.cygnus.com
mailing list for the Java project.
gcj/25: java/util/zip/ZipFile reads directory incorrectly
- To: java-gnats@sourceware.cygnus.com
- Subject: gcj/25: java/util/zip/ZipFile reads directory incorrectly
- From: Kresten Krab Thorup <krab@gnu.org>
- Date: 9 Aug 1999 13:11:44 -0000
- Reply-To: Kresten Krab Thorup <krab@gnu.org>
- Resent-Cc: java-prs@sourceware.cygnus.com, green@cygnus.com,
- Resent-Reply-To: gnats-admin@sourceware.cygnus.com, Kresten Krab Thorup <krab@gnu.org>
- Resent-To: apbianco@cygnus.com
>Number: 25
>Category: gcj
>Synopsis: java/util/zip/ZipFile reads directory incorrectly
>Confidential: no
>Severity: serious
>Priority: high
>Responsible: apbianco
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Mon Aug 09 06:20:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator: Kresten Krab Thorup <krab@gnu.org>
>Release: snapshot aug-09-99 20:00
>Organization:
>Environment:
>Description:
The ZipFile class does not read the zip file central
directory correctly.
The result is, that classes cannot be loaded from
zip or jar files. The class loader reports
"erroneous magic number".
>How-To-Repeat:
Run the verifier (available from krab@gnu.org) on itself,
gij verify.Tool --classpath=.:path/to/libgcj.zip
This will trigger the verifier to load class
java.lang.String from the zip file, which will not work.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: