Canal + Belgique (Informatique) wrote:

>     I guess there must be a workaround to force the calling classes to
> get the actual value for the strings from the file Resource.class (where
> they are too, according to a "find in files"). Probably making them
> non-static will do the trick, but that seems ugly to me to allow one
> class to change a Resource in another class.

Problem is not that they are static, but that they are final. Make them
just static. It will be only a bit slower, but more sure.
BTW inlining final variables is not so needed with all this new jits -
this is most obvious optimalization to be done by them, not by static
compiler.

Artur

Reply via email to