It's not the syntax the Eclipse Maven plugin fails on but it uses Java4 instead 
and needs manual modification on the project to set Java8 (any "update" command 
on the project will go back to Java4).

JP

-----Message d'origine-----
De : CLEMENT Jean-Philippe [mailto:[email protected]] 
Envoyé : jeudi 23 janvier 2014 09:39
À : [email protected]
Objet : RE: OSGi and JDK8 Status?

Karaf which is based on Felix works for me but with a lot of strange traces in 
the log.

As per ASM team, ASM 5 will be released when Java8 would be. However, ASM 5 
beta is ok ready to be used.

I don't have any trouble with the Maven scr plugin, but the Eclipse plugin does 
not support new Java8 syntax. Neither Checkstyle.

Eclipse itself partly supports Java8 but with a patch. I experienced strange 
behaviors, but, it works.

Note that Java8 itself does also contain bugs, especially in JavaFX.

JP


De : Mark Derricutt [mailto:[email protected]] Envoyé : mercredi 22 janvier 2014 
20:57 À : [email protected] Objet : OSGi and JDK8 Status?


Hey there,

Has anyone tracked what the status of Felix/OSGi is under JDK8 (targetted 
bytecode) etc. is yet?

So far AFAIK:

 *   maven-scr-plugin broken due to ASM 5 not being released, so doesn't 
support new bytecode
 *   maven-bundle-plugin broken due to BND also not supporting JDK8 bytecode, 
or source code

Any one know if Pax-CDI works? iPojo?

Felix/Karaf itself all seems to work fine running UNDER JDK8 once I added the 
jre exports tho.

Has anyone built up -SNAPSHOTS of the above two plugins with SNAPSHOTS of 
dependencies to get something working so that once JDK8 is officially released 
( or better, once the RC is released ) that broader testing of OSGi based apps 
can go forth.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to