JSR292 backport is alive

2 views
Skip to first unread message

Rémi Forax

unread,
Jun 5, 2009, 8:37:33 PM6/5/09
to jvm-la...@googlegroups.com
Hi all,
I've finished to code the first part (method handles support) of the JSR
292 backport,
i.e the ability to run method handles and invokedynamic on 1.5/1.6 VMs.

The code is available here:
http://code.google.com/p/jvm-language-runtime/source/browse/#svn/trunk/invokedynamic-backport

By example, the backport is able to run the FastAndSlow example provide
by John and Christian
in their JSR292 Cookbook presentation :
http://cr.openjdk.java.net/~jrose/pres/200906-Cookbook.htm

[forax@localhost indy-backport]$ ant clean all
Buildfile: build.xml

clean:
[delete] Deleting:
/home/forax/java/workspace/indy-backport/lib/jsr292-backport.jar
[delete] Deleting directory
/home/forax/java/workspace/indy-backport/classes
[mkdir] Created dir: /home/forax/java/workspace/indy-backport/classes

compile:
[javac] Compiling 24 source files to
/home/forax/java/workspace/indy-backport/classes

jar:
[jar] Building jar:
/home/forax/java/workspace/indy-backport/lib/jsr292-backport.jar

all:

BUILD SUCCESSFUL
Total time: 1 second
[forax@localhost indy-backport]$ cd sandbox/
[forax@localhost sandbox]$ javac -source 1.7 FastAndSlow.java
[forax@localhost sandbox]$ /usr/jdk/jdk1.6.0_11/bin/java
-javaagent:../lib/jsr292-backport.jar FastAndSlow
5
I'm hungry; is it done yet?
5.2
2147483646
oops, it's overflowing
I'm hungry; is it done yet?
2.147483648E9

It's time to go to sleep for me,
cheers,
Rémi

Chanwit Kaewkasi

unread,
Jun 5, 2009, 8:38:22 PM6/5/09
to jvm-la...@googlegroups.com
Congratulations, Remi !

Cheers,

Chanwit
--
Chanwit Kaewkasi
PhD Candidate,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK

John Rose

unread,
Jun 5, 2009, 10:52:48 PM6/5/09
to jvm-la...@googlegroups.com
Awesome, especially since I wrote that example code yesterday 10
minutes before the talk!

-- John (on my iPhone)

Frank Wierzbicki

unread,
Jun 5, 2009, 11:22:21 PM6/5/09
to jvm-la...@googlegroups.com
On Fri, Jun 5, 2009 at 8:37 PM, Rémi Forax<fo...@univ-mlv.fr> wrote:
>
> Hi all,
> I've finished to code the first part (method handles support) of the JSR
> 292 backport,
> i.e the ability to run method handles and invokedynamic on 1.5/1.6 VMs.
Wow! Congratulations!

-Frank

Jin

unread,
Jun 17, 2009, 9:41:12 AM6/17/09
to JVM Languages
Cong! great work!

On Jun 6, 8:37 am, Rémi Forax <fo...@univ-mlv.fr> wrote:
> Hi all,
> I've finished to code the first part (method handles support) of the JSR
> 292 backport,
> i.e the ability to run method handles and invokedynamic on 1.5/1.6 VMs.
>
> The code is available here:http://code.google.com/p/jvm-language-runtime/source/browse/#svn/trun...
Reply all
Reply to author
Forward
0 new messages