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
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to