Java 7 not supported by Kilim weaver?

305 views
Skip to first unread message

Tony Arcieri

unread,
May 25, 2012, 3:54:43 PM5/25/12
to kilimt...@googlegroups.com
This seems to be a huge showstopper for using Kilim on Java 7, particularly if the goal is to use runtime weaving:


I'm guessing the ASM 4.0 work the Erjang guys were doing needs to be completed, unless there's a simpler solution.

Are there any plans to address this? This seems like a huge issue considering Java 6 is EOL in November this year.

--
Tony Arcieri

Tony Arcieri

unread,
Jul 7, 2012, 6:36:51 PM7/7/12
to kilimt...@googlegroups.com
Has anyone done any work recently on getting the Kilim weaver working on Java 7?
--
Tony Arcieri

Kresten Krab Thorup

unread,
Jul 8, 2012, 8:21:53 AM7/8/12
to kilimt...@googlegroups.com, kilimt...@googlegroups.com
This branch of Kilim is what Erjang uses for Java7. I've disabled all jsr support, but other than that it should work. InvokeDynamic is untested.

https://github.com/krestenkrab/kilim/tree/asm-4.0

Kresten

On 08/07/2012, at 00.37, "Tony Arcieri" <tony.a...@gmail.com<mailto:tony.a...@gmail.com>> wrote:

Has anyone done any work recently on getting the Kilim weaver working on Java 7?

Tony Arcieri

unread,
Jul 8, 2012, 9:02:50 PM7/8/12
to kilimt...@googlegroups.com
Thanks! I'm glad to see there's been work done on this recently
--
Tony Arcieri

Jason Pell

unread,
Nov 4, 2012, 7:12:52 PM11/4/12
to kilimt...@googlegroups.com
excuse my ignorance but what is JSR support?

Jason Pell

unread,
Jan 14, 2013, 3:50:31 AM1/14/13
to kilimt...@googlegroups.com

Jsr is jump to subroutine I think? Used to implement finally block. Does that mean finally block cannot be used with java 7 erjang branch?

Andrew Bate

unread,
Apr 19, 2013, 7:35:43 PM4/19/13
to kilimt...@googlegroups.com, ja...@pellcorp.com
In case anyone is still wondering: Since Java 6, javac doesn't emit the jsr instruction and instead implements the finally block differently (by coping backwards along all program paths). Lack of jsr support doesn't matter (prob. a good thing), provided the classes your weaving are compiled against Java 6+.

Colin Fleming

unread,
Apr 19, 2013, 9:22:49 PM4/19/13
to kilimt...@googlegroups.com, ja...@pellcorp.com
Thanks Andrew, this is great news.


--
You received this message because you are subscribed to the Google Groups "kilimthreads" group.
To unsubscribe from this group and stop receiving emails from it, send an email to kilimthreads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Jason Pell

unread,
Jul 22, 2013, 10:42:09 PM7/22/13
to kilimt...@googlegroups.com, ja...@pellcorp.com
Hi,

The kilim github now has a branch with java 7 support and I can confirm it works very nicely.
Reply all
Reply to author
Forward
0 new messages