Hi, I would prefer: - Java7 for compilation on Karaf 4.0.x - Java7 and Java8 runtime compliant for Karaf 4.0.x - Java8 "oriented" for compilation and runtime for Karaf 4.1.x
So, I would wait the 4.0.x GA before moving completely on Java8. Regards JB On 01/26/2015 04:22 PM, Achim Nierbeck wrote:
Hi, How is everybody feeling about to switch to JDK8 for building the master branch? (Karaf 4) According to [1], Java 7 is pretty much at EOL. I think this needs to be addressed right now since for Pax Web 4.1. which is now used by Karaf 4 it is needed to use JDK8. Not because of using any new features of Java 8 but because of the memory issues while running the integration tests. There seems to be a reproducible issue since switching to Jetty 9.2 and running the integration tests with Java 7. Those are gone when Java 8 is used. Therefore Pax Web 4.1. uses JDK8 for building right now, though the switches are set to be compatible with Java 7, for source and target. Another benefit might be to use JDK8 features already. For me I would like to see at least JDK8 with source and target set to 7 regards, Achim [1] - http://www.oracle.com/technetwork/java/eol-135779.html
-- Jean-Baptiste Onofré [email protected] http://blog.nanthrax.net Talend - http://www.talend.com
