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]]
Envoyé : lundi 17 mars 2014 10:55
À : [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) 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]] Envoyé : vendredi
13 décembre 2013 17:10 À : [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]] Envoyé : vendredi
13 décembre 2013 10:24 À : [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]] Envoyé : jeudi 5
décembre 2013 14:22 À : [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]] Envoyé : jeudi 5
décembre 2013 13:59 À : [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]
http://blog.nanthrax.net
Talend - http://www.talend.com
--
Jean-Baptiste Onofré
[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
--
Jean-Baptiste Onofré
[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
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com