Building with JDK 8 is ok from my perspective, we just need to make sure
the binary still runs with JDK 7.
So the only problem I see is that we might not see some jdk 7 issues
when we only build on jdk 8.
Christian
On 26.01.2015 16:22, 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
--
Christian Schneider
http://www.liquid-reality.de
Open Source Architect
http://www.talend.com