Share

FastJar

Tracker: Bugs

8 can extract, but can't list some jar/zip files - ID: 200324
Last Update: Settings changed ( toast )

fastjar -tf <file> complains about malformed header, but -xf will
extract the files.


Bryan Burns ( toast ) - 1999-12-07 21:04

8

Closed

None

Nobody/Anonymous

None

bug

Public


Comments ( 3 )




Date: 2005-08-28 08:39
Sender: wmahan

Logged In: YES
user_id=613983

I also noticed this error, and I think it is caused by zipfile comments as
the error message suggests. I have submitted patch 1275036, which fixes the
problem for me.


Date: 2001-08-17 17:19
Sender: arobert3434

Logged In: YES
user_id=146959

This problem (which persists in v0.93) can be seen clearly
when examining the jar in emacs archive mode. It shows that
a "^A^Z" (control-A,control-Z) sequence is appended to
certain class names. This prevents most classloaders from
finding the class. It appears to occur randomly (though
there may be some system to it), so that the chance of
rendering a class inaccessible is larger for larger jars.



Date: 2000-12-20 20:01
Sender: ispringer

I see this problem also on most jarfiles. The exact error message I get
when I do fastjar -tf [file] is:

"Error in JAR file format. zip-style comment?"

Exit status code is 1.





Log in to comment.

Attached File

No Files Currently Attached

Changes ( 4 )

Field Old Value Date By
status_id Open 2007-02-06 03:26 toast
close_date - 2007-02-06 03:26 toast
priority 5 1999-12-07 21:04 toast
category_id None 1999-12-07 21:04 toast