The JSR 292 EG has decided to simplify some aspects of the API.  I have just 
pushed updated patches to mlvm which embody these changes.

CallSite is more streamlined.  The only field it has is the target method 
handle.  The caller class, type, and name have gone away.    It is simple to 
create a CallSite subclass that remembers this information if you need it.  
Here's an example usage:
  
http://hg.openjdk.java.net/mlvm/mlvm/file/1c7351d7192f/netbeans/indy-demo/src/GetNameDemo.java

Also, ldc of method handle constants is now supported.  There is a patch in 
langtools with a prototype syntax to support this at the source level.

Note:  The updated patches to hotspot are untested on x86/64 and SPARC systems.

-- John
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev

Reply via email to