* John Rose [2010-10-22 08:43] writes: > MethodHandle myBSM(MethodHandles.Lookup look, String name, MethodType type); > MethodHandle myBSM(MethodHandles.Lookup look, String name, MethodType type, > Object arg); > MethodHandle myBSM(MethodHandles.Lookup look, String name, MethodType type, > Object... args); > > It is natural to ask why we are using varargs, when we could just > specify that the extra static arguments could be passed positionally. > The simple answer is positional arguments are of limited use, but a > varargs array can be used to encode very rich and useful BSM > arguments.
Why is the name a required and not an optional argument? Helmut _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev