Menu

#479 Many optimizations errors with version 4.11 beta 2

v4.9
closed-fixed
None
7
2013-10-16
2013-10-11
Wanderer
No

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!

Discussion

  • Wanderer

    Wanderer - 2013-10-11

    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.

     
  • Eric Lafortune

    Eric Lafortune - 2013-10-11

    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.

     
  • Wanderer

    Wanderer - 2013-10-11

    The latest version seems to work fine, thanks for the quick fix!

     
  • Eric Lafortune

    Eric Lafortune - 2013-10-16
    • status: open --> closed-fixed
    • assigned_to: Eric Lafortune
    • Priority: 5 --> 7
     

Log in to post a comment.