JSR 292 API changes
John Rose
John.Rose at Sun.COM
Wed Mar 24 19:03:13 PDT 2010
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
More information about the mlvm-dev
mailing list