A Dirt-ugly Hack to Modify Private Final Fields in Java
We all use reflection from time to time. We may even tamper with
visibility through Java’s Field.setAccessible() and similar methods. But
this post here takes things to the extreme and shows how to modify
private (static) final fields in Java. Think twice, when choosing this
tool
http://zarnekow.blogspot.ch/2013/01/java-hacks-changing-final-fields.html
(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)
Tags:





