[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-mlvm-dev
Subject:    JSR 292 API changes
From:       John.Rose () Sun ! COM (John Rose)
Date:       2010-03-25 2:03:13
Message-ID: 254BBAAC-79AE-4327-A2FD-5850814F0944 () sun ! com
[Download RAW message or body]

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic