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

2004-12-14 Thread nlite at users dot sf dot net
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


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

2004-12-14 Thread nlite at users dot sf dot net

--- Additional Comments From nlite at users dot sf dot net  2004-12-14 
19:07 ---
Created an attachment (id=7743)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7743&action=view)
an archive belonging to the testcase


-- 


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


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

2004-12-14 Thread nlite at users dot sf dot net

--- Additional Comments From nlite at users dot sf dot net  2004-12-14 
19:06 ---
Created an attachment (id=7742)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=7742&action=view)
a testcase


-- 


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