<div dir="ltr">I&#39;m afraid I&#39;ve already merged this. I could change it back, but in the future we will start using JDK8 features on the server side, that means all modules not used by adapters will be allowed to use JDK8 features. It seems like a better way forward would be to solve the issue (my PermissionsTests will be horrible without lambdas as well).<div><br></div><div>Why are the servlets in &quot;tests/base&quot; at all? Seems like these are only used by &quot;tests/other/adapters&quot; and that&#39;s where they should be. Base should focus on only testing the server itself. If the servlets are moved there we can make only &quot;tests/base&quot; use JDK8. That would solve the problem right?</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 5 May 2016 at 11:46, Michal Hajas <span dir="ltr">&lt;<a href="mailto:mhajas@redhat.com" target="_blank">mhajas@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">Hi Stian,<br>
<br>
I think we may have problem with this, because our servlets are in base testsuite (<a href="https://github.com/keycloak/keycloak/tree/master/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/servlet" rel="noreferrer" target="_blank">https://github.com/keycloak/keycloak/tree/master/testsuite/integration-arquillian/tests/base/src/main/java/org/keycloak/testsuite/adapter/servlet</a>) and they need to be compiled with java 7. We need to be able to deploy them to containers running on java 7. Will be these files involved too?<br>
<br>
Michal.<br>
<div><div class="h5"><br>
----- Original Message -----<br>
&gt; From: &quot;Stian Thorgersen&quot; &lt;<a href="mailto:sthorger@redhat.com">sthorger@redhat.com</a>&gt;<br>
&gt; To: &quot;keycloak-dev&quot; &lt;<a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Tuesday, May 3, 2016 1:05:12 PM<br>
&gt; Subject: [keycloak-dev] Enable JDK8 for testsuite<br>
&gt;<br>
&gt; I&#39;ve changed source/target to 1.8 for testsuite/integration-arquillian. This<br>
&gt; is so I can use lambdas for testing permissions (otherwise I end up with<br>
&gt; extremely messy tests with loads of anonymous inner classes).<br>
&gt;<br>
&gt; Anyone have any issues with that?<br>
&gt;<br>
&gt; In 2.x we can look at setting 1.8 as default for everything except adapters<br>
&gt; and shared modules.<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; keycloak-dev mailing list<br>
&gt; <a href="mailto:keycloak-dev@lists.jboss.org">keycloak-dev@lists.jboss.org</a><br>
&gt; <a 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>