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

[Bug libgcj/18996] New: java.util.zip giving corrupt data or throwing ZipException on correct archives


gcj (GCC) 4.0.0 20040924 (experimental)
Windows XP on a Pentium 4
I'm using Mohan's build (thisiscool.com)

Using a ZipFile, especially to open a "large" archive (43 files, ~90kb), often
results in ZipExceptions ("Deflated stream ends early.") or corrupted data. I
tried several archivers such as 7zip, WinRAR, Sun's jar and fastjar (renaming
.jar to .zip) but it only really works on 1-file-archives. The testcase i'll
attach can be compiled with
gcj --main=Main Main.java
With the test archive i'll also attach, it'll give an
Exception in thread "main" java.util.zip.ZipException: Deflated stream ends early.

-- 
           Summary: java.util.zip giving corrupt data or throwing
                    ZipException on correct archives
           Product: gcc
           Version: 4.0.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: nlite at users dot sf dot net
                CC: gcc-bugs at gcc dot gnu dot org,java-prs at gcc dot gnu
                    dot org
 GCC build triplet: i686-win32
  GCC host triplet: i686-win32
GCC target triplet: i686-win32


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=18996


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