Status of Anno Class loader with constant patches?
Thomas Wuerthinger
thomas.wuerthinger at gmail.com
Thu Dec 30 04:40:47 PST 2010
> 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 message "field is final" is thrown at
the end of Reflection::resolve_field in reflection.cpp.
- thomas
More information about the mlvm-dev
mailing list