Shigeru Chiba [
https://community.jboss.org/people/chiba] created the discussion
"Re: Can JavaAssist change a static final field?"
To view the discussion, visit:
https://community.jboss.org/message/778013#778013
--------------------------------------------------------------
According to my memory, changing the value of a static field is not straightforward
because
javac may inline the value of static constant field at occurrences of that field even in
different
class files. In that case, after compilation, Javassist cannot see where the original
value is
embedded in class files and have to be modified.
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/778013#778013]
Start a new discussion in Javassist at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]