[ 
https://issues.apache.org/jira/browse/IGNITE-13039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Alexey Goncharuk updated IGNITE-13039:
--------------------------------------
    Fix Version/s: 2.9

> 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
>            Priority: Minor
>             Fix For: 2.9
>
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to