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.
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.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.