It'll probably even run on Java 7 with EAP 6.4 as the particular code above
is not in used with older Infinispan versions.
On 8 January 2016 at 15:01, Vlastimil Elias <velias(a)redhat.com> wrote:
Sure thing, I only want to be sure what is going on and if it is
documented properly.
Looks like EAP 6.4 can run on Java 8 so it shouldn't be so big problem for
us.
Vlastimil
On 8.1.2016 13:53, Stian Thorgersen wrote:
Java 8 is now required to build due to switch to WildFly 10. The target
Java version is inherited from JBoss parent (
https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132).
Next release (1.8) will require Java 8 on server-side, but still support
Java 7 on the client-side.
Oracle stopped supporting Java 7 early last year, so maybe it's time to
move on ;)
I'll update the readme's though.
On 8 January 2016 at 13:40, Vlastimil Elias <velias(a)redhat.com> wrote:
> Hi,
>
> I rebased my local Keycloak source codes to latest master yesterday, and
> got compilation error in
> org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider
> class, because of import of classes from java.util.function package.
> Investigation shown me that these classes are available in Java 8+ only.
>
> Does this mean that next version of Keycloak (1.8) is targeted to run on
> Java 8 only?
>
> Is this documented somewhere? Main readme at
>
https://github.com/keycloak/keycloak still states "Ensure you have JDK 7
> (or newer)" in build section. And I was not able to find any other info
> about required java version in user doc (eg Installation chapter).
>
> And I also realized that Keycloak's parent pom file (and all subprojet
> poms also) miss any information about target java version.
> There was this definition in pom file a year ago, but looks like Stian
> removed it 9 months ago:
>
> <!-- maven-compiler-plugin -->
>
> <maven.compiler.target>1.7</maven.compiler.target>
>
> <maven.compiler.source>1.7</maven.compiler.source>
>
> This brings a small problem when importing the project into Eclipse, as
> it is not able to correctly set java version for the project.
> But maybe there is some reason why this is not in the pom? (I can
> imagine that adapters use lower java version than the Keycloak server)
>
> Is it possible to clear this somehow, at least in the documentation?
>
> Thanks
>
> Vlastimil
>
> --
> Vlastimil Elias
> Principal Software Engineer
> Developer Portal Engineering Team
>
>
>
> _______________________________________________
> keycloak-dev mailing list
> keycloak-dev(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/keycloak-dev
>
--
Vlastimil Elias
Principal Software Engineer
Developer Portal Engineering Team
_______________________________________________
keycloak-dev mailing list
keycloak-dev(a)lists.jboss.org
https://lists.jboss.org/mailman/listinfo/keycloak-dev