On Nov 7, 2010, at 1:17 AM, assembling signals wrote: > For the use case "calling a method whose signature is unknown prior to > runtime" > (such as some lib, loaded externally) :
That's what MethodHandles.genericInvoker is for. You can also do this yourself by calling Lookup.findVirtual on MethodHandle.invokeExact. That reflective mechanism will hand you a capability to invoke any signature, even if you didn't spin bytecodes. -- John _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev