Status of Anno Class loader with constant patches?

Helmut Eller eller.helmut at gmail.com
Thu Jan 6 08:50:50 PST 2011


* 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?

Helmut



More information about the mlvm-dev mailing list