Stanilovsky Evgeny created IGNITE-13039:
-------------------------------------------
Summary: Get rid of possibility to change final static fields
through reflection for test purpose.
Key: IGNITE-13039
URL: https://issues.apache.org/jira/browse/IGNITE-13039
Project: Ignite
Issue Type: Improvement
Components: general
Affects Versions: 2.8
Reporter: Stanilovsky Evgeny
Assignee: Stanilovsky Evgeny
Rare for tests purpose there is a need for changing some private fields through
reflection.
Changing *static final* fields in this manner could bring more tears, check for
example [1] and [2].
[1]
https://stackoverflow.com/questions/3301635/change-private-static-final-field-using-java-reflection
[2] http://docs.oracle.com/javase/specs/jls/se7/html/jls-15.html#jls-15.28
--
This message was sent by Atlassian Jira
(v8.3.4#803005)