First release of JSR292 backport

3 views
Skip to first unread message

Rémi Forax

unread,
Jul 1, 2009, 12:19:52 PM7/1/09
to jvm-la...@googlegroups.com
I've just released the first (in fact, the second) version of the JSR
292 backport.
See my blog:
http://weblogs.java.net/blog/forax/

Dear language runtime developers,
I hope you will have fun with it.

cheers,
Rémi

Chanwit Kaewkasi

unread,
Jul 1, 2009, 12:15:28 PM7/1/09
to jvm-la...@googlegroups.com
Thanks, Rémi !
It will be useful for me.

Cheers,

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

Frank Wierzbicki

unread,
Jul 1, 2009, 12:39:38 PM7/1/09
to jvm-la...@googlegroups.com
Thanks Remi! I know I will have some fun with it :)

-Frank

Charles Oliver Nutter

unread,
Jul 1, 2009, 4:56:46 PM7/1/09
to jvm-la...@googlegroups.com
Spectacular effort, Remi...I hope to give it a try soon. I'm also
hoping I'll have opportunity to help improve it given what we have
learned about making dispatch fast in JRuby.

Rémi Forax

unread,
Jul 2, 2009, 7:26:49 PM7/2/09
to jvm-la...@googlegroups.com
Charles Oliver Nutter a écrit :
> Spectacular effort, Remi...I hope to give it a try soon. I'm also
> hoping I'll have opportunity to help improve it given what we have
> learned about making dispatch fast in JRuby.
>

All contributions are welcome :)
I haven't your experience.

Rémi

Rémi Forax

unread,
Jul 2, 2009, 7:36:15 PM7/2/09
to jvm-la...@googlegroups.com
Frank Wierzbicki a écrit :

I can't wait to see an invoke-jython-dynamic prototype.
I feel like I had put a stone in the middle of the great pyramid
and can't wait the others to finish the dream.

> -Frank
>

Rémi

Rémi Forax

unread,
Jul 2, 2009, 7:39:14 PM7/2/09
to jvm-la...@googlegroups.com
Chanwit Kaewkasi a écrit :

> Thanks, Rémi !
> It will be useful for me.
>
Good luck for G7 !
> Cheers,
>
> Chanwit
>

Rémi

Charles Oliver Nutter

unread,
Jul 2, 2009, 10:24:40 PM7/2/09
to jvm-la...@googlegroups.com
Remi: I have not had any look at your stuff yet, but would it be an
appropriate replacement for the "mock" indy jar I've been using? i.e.
even if we don't run against the backport, would it enable compiling
JRuby's invokedynamic stuff on non-MLVM JVMs?

http://github.com/jruby/indy_mock/tree/master

- Charlie

Rémi Forax

unread,
Jul 3, 2009, 2:52:07 AM7/3/09
to jvm-la...@googlegroups.com
Charles Oliver Nutter a écrit :
> Remi: I have not had any look at your stuff yet, but would it be an
> appropriate replacement for the "mock" indy jar I've been using? i.e.
> even if we don't run against the backport, would it enable compiling
> JRuby's invokedynamic stuff on non-MLVM JVMs?
>
> http://github.com/jruby/indy_mock/tree/master
>
> - Charlie
>

Yes, it should be a drop in replacement.

Rémi

Attila Szegedi

unread,
Jul 7, 2009, 8:45:35 AM7/7/09
to jvm-la...@googlegroups.com
Hi Rémi,

your backport only compiles with and runs on Java 6, as it relies on
several 6-only methods, notably:

java.util.Arrays.copyOf()
java.util.Arrays.copyOfRange()
java.lang.instrument.Instrumentation.redefineClasses(ClassDefinition)
(Java 5 only has Instrumentation.redefineClasses(ClassDefinition[]))

Just saying, as I thought your intent was to support Java 5 too.

Attila.

Rémi Forax

unread,
Jul 7, 2009, 9:45:44 AM7/7/09
to jvm-la...@googlegroups.com
Attila Szegedi a écrit :

> Hi Rémi,
>
> your backport only compiles with and runs on Java 6, as it relies on
> several 6-only methods, notably:
>
> java.util.Arrays.copyOf()
> java.util.Arrays.copyOfRange()
> java.lang.instrument.Instrumentation.redefineClasses(ClassDefinition)
> (Java 5 only has Instrumentation.redefineClasses(ClassDefinition[]))
>
> Just saying, as I thought your intent was to support Java 5 too.
>
> Attila.
>

Oups.
will fix ASAP.

Rémi

Rémi Forax

unread,
Jul 7, 2009, 10:13:58 AM7/7/09
to jvm-la...@googlegroups.com
Attila Szegedi a écrit :
> Hi Rémi,
>
> your backport only compiles with and runs on Java 6, as it relies on
> several 6-only methods, notably:
>
> java.util.Arrays.copyOf()
> java.util.Arrays.copyOfRange()
> java.lang.instrument.Instrumentation.redefineClasses(ClassDefinition)
> (Java 5 only has Instrumentation.redefineClasses(ClassDefinition[]))
>
> Just saying, as I thought your intent was to support Java 5 too.
>
> Attila.
>

It should be fixed in the trunk and I've put a new zip in download
section (1.0.2)

Rémi
Reply all
Reply to author
Forward
0 new messages