Status of Anno Class loader with constant patches?
Rémi Forax
forax at univ-mlv.fr
Thu Jan 6 10:14:30 PST 2011
On 01/06/2011 05:50 PM, Helmut Eller wrote:
> * Rémi Forax [2011-01-06 15:36] writes:
>
>> Anyway, you can store your load-time constant in a static field,
>> initialize it in a static block and use invokedynamic to load it.
>> In the bootstrap method, do a field lookup to get the value and
>> return a constant method handle created using the value.
> So what you recommend? Simple final static (no method handles) or this
> scheme?
Now or in two years :)
> Helmut
Rémi
More information about the mlvm-dev
mailing list