Thanks, John. You did really great job. I've seen some your and your team's presentations at JavaOne. It is really a renaissance of JVM. woo! I will keep my eye with MLVM. current jdk7 invokedynamic + Rémi Forax's jdk5/6 backport seem provide a whole new solution for dynamic language, I will try more deep tests on MLVM! Cong!
Best regards, Jin On Jun 9, 1:57 pm, John Rose <john.r...@sun.com> wrote: > Thanks for trying it out! The b59 version is good for initial > experiments, but it has lots of limitations. > > The "NYI" UnsupportedOperationException is (as you guessed) an > unfinished part of the implementation; it stands for "Not Yet > Implemented". > > The latest bits are in the mlvm repository, and have fewer > limitations. Those changes flow (with a few weeks delay) into the > OpenJDK builds. > > Examples which exercise the latest bits are (always) here: > http://hg.openjdk.java.net/mlvm/mlvm/file/tip/netbeans/indy-demo > > See also my blog: > http://blogs.sun.com/jrose/entry/thursday_at_javaone > > Best wishes, > -- John > > On Jun 8, 2009, at 7:03 AM, Jin wrote: > > > > > great news! I tested with jdk 7 b59 for my windowsxp. I can pass the > > partial HelloWorld codes, hello.java > > >> java -XX:+EnableInvokeDynamic Hello > > Hello, world (from a statically linked call site) > > Hello, world > > set target to adapt greeter(java.lang.String)void > > Exception in thread "main" java.lang.UnsupportedOperationException: > > NYI > > at sun.dyn.FromGeneric.buildAdapterFromBytecodes > > (FromGeneric.java:238) > > at sun.dyn.FromGeneric.<init>(FromGeneric.java:98) > > at sun.dyn.FromGeneric.of(FromGeneric.java:185) > > at sun.dyn.FromGeneric.make(FromGeneric.java:177) > > at sun.dyn.MethodHandleImpl.convertArguments > > (MethodHandleImpl.java:247) > > at java.dyn.MethodHandles.convertArguments(MethodHandles.java: > > 764) > > at Hello.bootstrapDynamic(Hello.java:58) > > at sun.dyn.CallSiteImpl.makeSite(CallSiteImpl.java:64) > > at Hello.main(Hello.java:42) > > > Great! > > > One additional interesting question is that the > > UnsupportedOperationException is really caused by the current > > "Unsupported" developement? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "JVM Languages" group. To post to this group, send email to jvm-languages@googlegroups.com To unsubscribe from this group, send email to jvm-languages+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jvm-languages?hl=en -~----------~----~----~----~------~----~------~--~---