weikipeng / dex2jar

Automatically exported from code.google.com/p/dex2jar
0 stars 0 forks source link

dex2jar generated Jar file cannot be read by java.util.JavaInputStream #241

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generate a Jar file by dex2jar from an apk.
2. Read the jar file through java.util.JavaInputStream. JarEntry.getSize is -1, 
should be file size.
3. Causes IndexOutOfBoundsException when attempting to read using 
ZipInputStream.read.

What is the expected output? What do you see instead?
Should be able to read jar files through API. 

What version of the product are you using? On what operating system?
0.0.9.15. Both Linux and Window

Please upload the file which cause the issue if possible.
All apk files I've tried have caused the problem.

Please provide any additional information below.
The command line 'jar' command can read the file successfully.

Original issue reported on code.google.com by mbwa...@gmail.com on 7 Apr 2015 at 4:26