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

Reply via email to