Differences in asType between MLVM/bsdport and JDK7

John Rose john.r.rose at oracle.com
Fri May 27 01:26:21 PDT 2011


On May 27, 2011, at 1:21 AM, Ola Bini wrote:

> I'm sure Remi said that those two things were supposed to do the same
> thing. Now it seems invoker() is not as useful anymore.
> 
> Or am I completely misunderstanding things here?

They are supposed to do the same thing, and (I hope) do the same thing in mlvm and upcoming b145.

IIRC, in b143/b144 [generic]invoker returns a MH with a denatured type.

That is, invoker() is supposed to do the same thing as the special lookup, but without the possibility of reflection errors, typos in the string, general lookup overhead, etc.

-- John


More information about the mlvm-dev mailing list