Latest Thinking

John Rose john.r.rose at oracle.com
Tue Jun 22 14:29:38 PDT 2010


On Jun 22, 2010, at 2:25 PM, Rémi Forax wrote:

> There is another possible design.
> Allow users to create fake types like java.dyn.Invokedynamic
> and define the annotation on that type.

I'd rather not let the magic signature polymorphism escape beyond the current set of names (InvokeDynamic and two methods of MethodHandle).  It pulls an "innocent" name into a dark corner of the language.

Also, putting an optional annotation on each call site is more flexible.

I wish we had expression annotations...

-- John


More information about the mlvm-dev mailing list