-
Notifications
You must be signed in to change notification settings - Fork 4.7k
New issue
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
[core] JDK 11.0.20+9 breaks jadx decompilation functionality #1962
Comments
Thanks for reporting. Based on the page you have linked it should be sufficient to set the system property According to the discussion in the apktools issue tracker about this JDK change: Edit: a good test APK which causes this problem is https://github.com/iBotPeaches/Apktool/blob/master/brut.apktool/apktool-lib/src/test/resources/aapt1/shared_libraries/library.apk |
I just made some tests and realized that calling This property is only read when The only way to set this property is directly when starting the java run-time. In the end this means we have to change the start script and the Launch4j generated executable. |
@jpstotz I commit fix for run scripts as you suggested, so this should resolve the issue. Thanks for help! 👍 |
@Sklot I am currently in contact with Lance Andersen from Oracle, the author of JDK-8302483. I have provided him several APK files which cause the |
@jpstotz - Thank you for doing that. I was attempting that myself but struggled to make contact and provide samples. |
For reference, the following OpenJDK PR seems to provide a solution to the problems mentioned in this issue: |
Describe error
JDK has recently updated and has changed how the ZipFile class functions. JDK-8302483 breaks decompilation. Downgrading the installed JDK to versions older than 11.0.20 do indeed result in the error going away.
The text was updated successfully, but these errors were encountered: