This is the mail archive of the java-prs@sourceware.cygnus.com 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]

gcj/25: java/util/zip/ZipFile reads directory incorrectly



>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:

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