Le 18/05/2010 09:45, Charles Oliver Nutter a écrit : > Well this one looks interesting. I'm generating several thousand such > abstract adapters; this would allow me to potentially use my same > abstract supertype for them all with either indy or non-indy backing > them up... >
It's only useful when bridging JRuby and Java, by example when you want to call a method that take a java.util.Comparator from JRuby, otherwise plain old method handle avoid to create such proxy. You generate adapters as a workaroud of the signature polymorphism problem. java.dyn.MethodHandle is the solution. Rémi > On Tue, May 18, 2010 at 7:35 AM,<[email protected]> wrote: > >> Changeset: e2709716a4ea >> Author: jrose >> Date: 2010-05-18 00:35 -0700 >> URL: http://hg.openjdk.java.net/mlvm/mlvm/jdk/rev/e2709716a4ea >> >> meth: add proxy maker for closures >> >> + meth-proxy-6953246.patch >> ! series >> >> _______________________________________________ >> mlvm-dev mailing list >> [email protected] >> http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev >> >> > _______________________________________________ > mlvm-dev mailing list > [email protected] > http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev > _______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
