findVirtual problem

Christian Thalinger Christian.Thalinger at Sun.COM
Tue Aug 18 02:25:35 PDT 2009


Attila Szegedi wrote:
> Shouldn't that be
> 
> mh.<String,Object>invoke("foo")
> 
> ? It returns a String and takes an Object.

No, the syntax is correct.  A MethodHandle invoke only specifies the
return type.

-- Christian


More information about the mlvm-dev mailing list