If we need to require JDK7 for building, I wonder if it would make sense to
actually require JDK8 at runtime.
Karaf 4.x is a new major version, so if this has to be done, now is the
time.
Given JDK7 is being EOLed in a few month, it might make sense to do the
switch.
Isn't that unusual to just have a 1 year between the new JDK and the EOL of
the previous one ?

2015-01-26 16:22 GMT+01:00 Achim Nierbeck <[email protected]>:

> 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
>
> --
>
> Apache Member
> Apache Karaf <http://karaf.apache.org/> Committer & PMC
> OPS4J Pax Web <http://wiki.ops4j.org/display/paxweb/Pax+Web/> Committer &
> Project Lead
> blog <http://notizblog.nierbeck.de/>
> Co-Author of Apache Karaf Cookbook <http://bit.ly/1ps9rkS>
>
> Software Architect / Project Manager / Scrum Master
>

Reply via email to