Luboš Doležel created COMPRESS-480:
--------------------------------------
Summary: Unexpected record signature when using
ZipArchiveInputStream
Key: COMPRESS-480
URL: https://issues.apache.org/jira/browse/COMPRESS-480
Project: Commons Compress
Issue Type: Bug
Affects Versions: 1.18
Reporter: Luboš Doležel
I'm trying to use ZipArchiveInputStream for reading a [Firefox
APK|https://www.dropbox.com/s/u725t87sew5b539/firefox-65-0-1.apk?dl=0]. I
cannot use ZipFile (although the example below _could_) and I'm aware of the
limitations.
The file makes use of "stored entries with data descriptor".
This code example triggers an exception:
{code}
ZipArchiveInputStream zis = new ZipArchiveInputStream(new FileInputStream(apk),
"UTF-8", false, true);
while (zis.getNextZipEntry() != null);
{code}
This is the exception reported: {{Unexpected record signature: 0X4374756F}}
Could it possibly be fixed or is this ZIP file impossible to read using
ZipArchiveInputStream?
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)