> In fact for hotspot, this kind of constant can be even more optimized
> than a static final field containing a non-primitive values which is
> not a real constant
> (it can be modified by reflection).
I don't think final fields can be modified via reflection. An
IllegalAccessException with the
Hello,
I'm out of the office Dec 24 2010 through Jan 9 2011.
Please refer to David Cox (david.cox) and Daniel Källander (daniel.kallander).
Regards,
Henrik Österdahl
___
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailm
On 12/30/2010 01:40 PM, Thomas Wuerthinger wrote:
Hi Thomas,
>> In fact for hotspot, this kind of constant can be even more optimized
>> than a static final field containing a non-primitive values which is
>> not a real constant
>> (it can be modified by reflection).
> I don't think final fields