gordonad / powermock

Automatically exported from code.google.com/p/powermock
0 stars 0 forks source link

Remove final from static fields #35

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
In some cases you want to be able to change a static final field. For
example is you need to suppress the static initializer for a class but
later need to set a final static field. We should thus remove the final
modifier from all static fields.

Original issue reported on code.google.com by johan.ha...@gmail.com on 24 Oct 2008 at 12:50

GoogleCodeExporter commented 9 years ago
It now works to set a static final field after the static initializes have been
suppressed.

Original comment by johan.ha...@gmail.com on 26 Oct 2008 at 8:34