#115 [Patch] makefieldsstatic

open
None
3
2011-06-19
2011-06-17
No

The attached patch adds a -makefieldsstatic option that makes the specified members static. This is useful for classes that are used as singletons in some configurations.

Discussion

  • Eric Lafortune

    Eric Lafortune - 2011-06-19
    • assigned_to: nobody --> lafortune
    • priority: 5 --> 3
     
  • Eric Lafortune

    Eric Lafortune - 2011-06-19

    It's an interesting feature, but it depends a lot on the user configuring it correctly. Just like with class merging, I'd prefer ProGuard to figure this out on its own, so the user can't shoot himself in the foot (or be confused by yet another option). I'll therefore not add it to the main release. Admittedly, automatic detection may be tricky or even impossible.

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks