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
-~----------~----~----~----~------~----~------~--~---

Reply via email to