On Mar 25, 2010, at 8:43 AM, Attila Szegedi wrote: > You'll get java.dyn.NoAccessException in more generic cases too, i.e. if. > MethodHandles.findStatic/Virtual/Special fails to find a method of the > expected signature etc.
Thanks, Attila. The JSR 292 RI is still underdevelopment. See yesterday's message for status related to javadoc and invokeGeneric: http://mail.openjdk.java.net/pipermail/mlvm-dev/2010-March/001591.html The invokeGeneric method, currently, should be treated as an alias for invokeExact until I get a little more JVM plumbing done. Until then, if you want to write a simple generic invocation, and are willing to tolerate boxing overheads in exchange, use MethodHandle.invokeVarargs. Xavier, the draft javadoc is posted here, and was just updated yesterday: http://cr.openjdk.java.net/~jrose/pres/indy-javadoc-mlvm/ It includes an account of the associated changes to the classfile format, too. See the package-info page for java.dyn. -- John -- You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en.
