Many optimizations errors with version 4.11 beta 2
Java class file shrinker, optimizer, obfuscator, and preverifier
Brought to you by:
guardsquare
Using new version 4.11 beta 2, the optimization step produces many errors in the bytecode. Specifically, many invocation variables are replaced with constants, which seem by to correct only for one of the invocation but not for the others.
Running optimized code produces exceptions like ArrayIndexOutOfBoundsException is many places.
I'm not 100% sure, but things worked fine with version 4.11 beta 1 (previous beta).
Disabling obfuscation doesn't help.
Thanks in advance!
Oops! I'm really sorry, didn't notice that the updated version (4.11 beta 3) is already available. Downloading it right now, hopefully, things will be okay with it.
Thanks for trying the beta version! I had indeed run into the same bug and uploaded ProGuard 4.11 beta3 yesterday. That should fix it. ProGuard was incorrectly propagating the length of arrays of different sizes.
The latest version seems to work fine, thanks for the quick fix!