Request for reviews (M): 6939134: JSR 292 adjustments to method handle invocation

Weijun Wang Weijun.Wang at Sun.COM
Wed Mar 31 18:57:40 PDT 2010

Can this function be made available through embedded JVM instructions inside a Java source? say --

    void go() {
       jvm {
          invokedynamic a b c


On Apr 1, 2010, at 9:43 AM, John Rose wrote:

> On Mar 31, 2010, at 6:02 PM, Neal Gafter wrote:
>> On Wed, Mar 31, 2010 at 5:33 PM, John Rose <john.r.rose at> wrote:
>>> To speak to your continued objection:  This language extension (signature polymorphism of specific methods) is necessary to any programmer who (like me) implements dynamic languages using JSR 292, and uses the JVM's systems programming language.  Since that language is Java, that makes me (in that role) a Java programmer who gets benefit from those language features.
>> Those dynamic languages, which support features not available in Java, should be self-bootstrapped or built using the JVM's own instruction set.
> That is the high road for implementing a language, but it is not the usual road, and it would not be customer-friendly to impose it on those who build dynamic languages on the JVM.
> -- John

More information about the compiler-dev mailing list