We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
we want to extract a "ordinary" jar file. With version 1.3.3 it's working like a charm. From version 2.0 on we get a
net.lingala.zip4j.exception.ZipException: Could not read corresponding local file header for file header: META-INF/MANIFEST.MF
With verion 2.6.0, it's a
java.io.EOFException: Unexpected end of input stream
This is the code
ZipFile zipFile = new ZipFile(JAR_FILE_NAME); Path tempDirectory = Files.createTempDirectory(null); tempDirectory.toFile().deleteOnExit(); zipFile.extractAll(tempDirectory.toString());
You can use your own jar for reproducing the issue.
The text was updated successfully, but these errors were encountered:
#194 Fix for reading jar files
d5c5b41
#194 Ignore reading rest of entry if directory or compressed size is 0
179e376
Issue fixed. Will include the fix in the next release.
Sorry, something went wrong.
Fix included in v2.6.1 released today.
srikanth-lingala
No branches or pull requests
Hi,
we want to extract a "ordinary" jar file. With version 1.3.3 it's working like a charm. From version 2.0 on we get a
With verion 2.6.0, it's a
This is the code
You can use your own jar for reproducing the issue.
The text was updated successfully, but these errors were encountered: