Arg ordering on the test path method handle for GwT
Mark Roos
mroos at roos.com
Wed Jan 12 13:28:10 PST 2011
Done
Though it would be nice if there was a dropArguments api like
dropArguments(MethodHandle target, int start, int count)
Since I have only one type in my world the value of selecting by types is
lost.
Thanks
mark
mlvm-dev-bounces at openjdk.java.net wrote on 01/06/2011 11:25:09 AM:
>
> In that case, the simplest way to go is to generate your GWT
> predicate as a unary MH, but then wrap it in a dropArguments so it
> can take *all* the arguments but drop all but the last. Then pass
> the the wrapped predicate to guardWithTest.
>
> Agree.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110112/edfebff2/attachment.html
More information about the mlvm-dev
mailing list