...
As a cautionary note, however, simply changing the modifier to final
may not prevent attackers from indirectly retrieving an incorrect value from the static
final
variable before its initialization. See MSC00-J. Eliminate class initialization cycles and OBJ03OBJ01-J. Be aware that a final reference may not always refer to immutable data for more details about such problems.
...