Hi Charlie, Yes, 3.0.1 and 4.0.0 will have Java8 support.
Regards JB On 03/27/2014 07:17 PM, Charlie Mordant wrote:
Hi JB, JP, Will it be a 3.0.1 dedicated to Java8 support soon? It should be nice for sharp devs ;). Regards, 2014-03-27 19:13 GMT+01:00 Jean-Baptiste Onofré <[email protected] <mailto:[email protected]>>: Hi JP, it works straight forward for me using ASM 5.0.1. I will rebase my local branch and merge on master. Regards JB On 03/27/2014 04:45 PM, CLEMENT Jean-Philippe wrote: Hi JB, Some modules which have been compiled with Java 8 fail to start. The problem is I have no clue if it's due to Karaf/Java8 or not... I'm stuck :S Did you make any progress? JP [@@ THALES GROUP INTERNAL @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : lundi 24 mars 2014 12:11 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 Hi JP for Karaf itself no, the point is more on the Aries Proxy side. I plan to push something about that later today (I'm in the US this week). Regards JB On 03/24/2014 12:08 PM, CLEMENT Jean-Philippe wrote: Hi Jean-Baptiste, FYI, ASM has been updated to 5.0.1: " This is a maintenance version which fixes a few important bugs found in the 5.0 version ". Do you think it will take long to catch up with ASM 5 / Java8? JP [@@ OPEN @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : mercredi 19 mars 2014 10:19 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 Hi JP, FYI, I updated the Jira this morning, I will work on ASM5 update today. Regards JB On 03/19/2014 09:26 AM, CLEMENT Jean-Philippe wrote: Hi JB, How may I download the 3.1.0-SNAPSHOT? Regards, JP [@@ THALES GROUP INTERNAL @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : lundi 17 mars 2014 10:55 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 Hi JP, Karaf master is 3.1.0-SNAPSHOT. I will take a look on the update on master (especially the impact on blueprint). Regards JB On 03/17/2014 10:17 AM, CLEMENT Jean-Philippe wrote: Dear Karaf-ers, ASM 5 is released so it may be used in Karaf to get Java 8 support: "This version is fully backward compatible with ASM 5.0 BETA (itself binary compatible with the 4.x versions) and provides full support for the new Java 8 class format features. However, new dynamic checks have been added in order to make sure that ASM version numbers (e.g. Opcodes.ASM4, Opcodes.ASM5, etc) are correctly used at runtime by subclasses of the ASM classes (as documented in the API). Another major difference is that visitMethodInsn(int,String,__String,String) is now deprecated, and replaced with visitMethodInsn(int,String,__String,String,boolean) -- in order to support invokespecial and invokestatic on interfaces in Java 8. Visitors declared with the Opcodes.ASM5 version MUST use this new method instead of the deprecated one (old visitors using the Opcodes.ASM4 and using the deprecated method will continue to work). See chapters 5 and 10 of the User Guide (http://download.forge.__objectweb.org/asm/asm4-guide.__pdf <http://download.forge.objectweb.org/asm/asm4-guide.pdf>) for more details." I'm not familiar with ASM at all, but I would like to get Java 8 support :) How may I help? Is there already a Karaf 3.1.0 beta version? Regards, JP -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : vendredi 13 décembre 2013 17:10 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 It's exactly what I suspect about Aries Proxy and ASM. You will have a bunch of feature that won't work. I gonna check the version range. Regards JB On 12/13/2013 02:19 PM, CLEMENT Jean-Philippe wrote: I found that ASM is installed as any normal bundle within Karaf. So I installed the v5-beta with same start level and removed the old one. For the moment it seems to work with Java 8, the only thing is that the log is full of "unable to create a proxy object for ... returning the original object instead." JP -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : vendredi 13 décembre 2013 10:24 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 Hi JP, as ASM 5 is still beta, we don't upgrade in Karaf (or after 3.0.0 on trunk). As Aries Proxy also use ASM, I don't think that Aries tested ASM 5 beta at all. So not sure it will work "out of the box". Regards JB On 12/13/2013 09:40 AM, CLEMENT Jean-Philippe wrote: It looks like ASM 5 beta supports Java8 which is great news. Is there a way to patch Karaf? Regards, JP [@@ OPEN @@] -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : jeudi 5 décembre 2013 14:22 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 It depends if we need an ASM update or not. Let me take a quick look on that, I will get back to you (at least in the Jira). Regards JB On 12/05/2013 02:14 PM, CLEMENT Jean-Philippe wrote: Ok, well... from your experience, when could I expect a Java8 compliant version of Karaf? JP -----Message d'origine----- De : Jean-Baptiste Onofré [mailto:[email protected] <mailto:[email protected]>] Envoyé : jeudi 5 décembre 2013 13:59 À : [email protected] <mailto:[email protected]> Objet : Re: Karaf & Java8 Hi Jean-Philippe, not yet, we have to work on ASM for full support. I gonna take a look on that just after Karaf 3.0.0 release. Regards JB On 12/05/2013 01:50 PM, CLEMENT Jean-Philippe wrote: Dear Karaf experts, It seems Karaf 3.0.0 RC1 doesn't work with Java8 (KARAF-2562). Is there a workaround? JP -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com -- Jean-Baptiste Onofré [email protected] <mailto:[email protected]> http://blog.nanthrax.net Talend - http://www.talend.com
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
