<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    I set JDK 8 for maven-compiler-plugin only for appropriate
    infinispan module, so everything else should be JDK 7 or 6 bytecode.<br>
    <br>
    <div class="moz-cite-prefix">On 1/8/2016 9:42 AM, Stian Thorgersen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAJgngAchjzkVucV1r1++qPqV4k51a6=_K9iiS2wnhQsn-cMM5Q@mail.gmail.com"
      type="cite">
      <div dir="ltr">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.</div>
      <div class="gmail_extra"><br>
        <div class="gmail_quote">On 8 January 2016 at 15:01, Vlastimil
          Elias <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:velias@redhat.com" target="_blank">velias@redhat.com</a>&gt;</span>
          wrote:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">
            <div text="#000000" bgcolor="#FFFFFF"> Sure thing, I only
              want to be sure what is going on and if it is documented
              properly. <br>
              Looks like EAP 6.4 can run on Java 8 so it shouldn't be so
              big problem for us.<span class="HOEnZb"><font
                  color="#888888"><br>
                  <br>
                  Vlastimil</font></span>
              <div>
                <div class="h5"><br>
                  <br>
                  <div>On 8.1.2016 13:53, Stian Thorgersen wrote:<br>
                  </div>
                  <blockquote type="cite">
                    <div dir="ltr">Java 8 is now required to build due
                      to switch to WildFly 10. The target Java version
                      is inherited from JBoss parent (<a
                        moz-do-not-send="true"
href="https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132"
                        target="_blank"><a class="moz-txt-link-freetext" href="https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132">https://github.com/jboss/jboss-parent-pom/blob/master/pom.xml#L132</a></a>).

                      <div><br>
                      </div>
                      <div>Next release (1.8) will require Java 8 on
                        server-side, but still support Java 7 on the
                        client-side.</div>
                      <div><br>
                      </div>
                      <div>Oracle stopped supporting Java 7 early last
                        year, so maybe it's time to move on ;)</div>
                      <div><br>
                      </div>
                      <div>I'll update the readme's though.</div>
                    </div>
                    <div class="gmail_extra"><br>
                      <div class="gmail_quote">On 8 January 2016 at
                        13:40, Vlastimil Elias <span dir="ltr">&lt;<a
                            moz-do-not-send="true"
                            href="mailto:velias@redhat.com"
                            target="_blank"><a class="moz-txt-link-abbreviated" href="mailto:velias@redhat.com">velias@redhat.com</a></a>&gt;</span>
                        wrote:<br>
                        <blockquote class="gmail_quote" style="margin:0
                          0 0 .8ex;border-left:1px #ccc
                          solid;padding-left:1ex">Hi,<br>
                          <br>
                          I rebased my local Keycloak source codes to
                          latest master yesterday, and<br>
                          got compilation error in<br>
org.keycloak.models.sessions.infinispan.InfinispanUserSessionProvider<br>
                          class, because of import of classes from
                          java.util.function package.<br>
                          Investigation shown me that these classes are
                          available in Java 8+ only.<br>
                          <br>
                          Does this mean that next version of Keycloak
                          (1.8) is targeted to run on<br>
                          Java 8 only?<br>
                          <br>
                          Is this documented somewhere? Main readme at<br>
                          <a moz-do-not-send="true"
                            href="https://github.com/keycloak/keycloak"
                            rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak</a>
                          still states "Ensure you have JDK 7<br>
                          (or newer)" in build section. And I was not
                          able to find any other info<br>
                          about required java version in user doc (eg
                          Installation chapter).<br>
                          <br>
                          And I also realized that Keycloak's parent pom
                          file (and all subprojet<br>
                          poms also) miss any information about target
                          java version.<br>
                          There was this definition in pom file a year
                          ago, but looks like Stian<br>
                          removed it 9 months ago:<br>
                          <br>
                                  &lt;!-- maven-compiler-plugin --&gt;<br>
                          <br>
                                 
                          &lt;maven.compiler.target&gt;1.7&lt;/maven.compiler.target&gt;<br>
                          <br>
                                 
                          &lt;maven.compiler.source&gt;1.7&lt;/maven.compiler.source&gt;<br>
                          <br>
                          This brings a small problem when importing the
                          project into Eclipse, as<br>
                          it is not able to correctly set java version
                          for the project.<br>
                          But maybe there is some reason why this is not
                          in the pom? (I can<br>
                          imagine that adapters use lower java version
                          than the Keycloak server)<br>
                          <br>
                          Is it possible to clear this somehow, at least
                          in the documentation?<br>
                          <br>
                          Thanks<br>
                          <span><font color="#888888"><br>
                              Vlastimil<br>
                              <br>
                              --<br>
                              Vlastimil Elias<br>
                              Principal Software Engineer<br>
                              Developer Portal Engineering Team<br>
                              <br>
                              <br>
                              <br>
_______________________________________________<br>
                              keycloak-dev mailing list<br>
                              <a moz-do-not-send="true"
                                href="mailto:keycloak-dev@lists.jboss.org"
                                target="_blank">keycloak-dev@lists.jboss.org</a><br>
                              <a moz-do-not-send="true"
                                href="https://lists.jboss.org/mailman/listinfo/keycloak-dev"
                                rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
                            </font></span></blockquote>
                      </div>
                      <br>
                    </div>
                  </blockquote>
                  <br>
                  <pre cols="72">-- 
Vlastimil Elias
Principal Software Engineer
Developer Portal Engineering Team</pre>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            keycloak-dev mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
            <a moz-do-not-send="true"
              href="https://lists.jboss.org/mailman/listinfo/keycloak-dev"
              rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a><br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
keycloak-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>
<a class="moz-txt-link-freetext" href="https://lists.jboss.org/mailman/listinfo/keycloak-dev">https://lists.jboss.org/mailman/listinfo/keycloak-dev</a></pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Bill Burke
JBoss, a division of Red Hat
<a class="moz-txt-link-freetext" href="http://bill.burkecentral.com">http://bill.burkecentral.com</a></pre>
  </body>
</html>