<div dir="auto">Is it still on 2.0? J6 code should still run for backward compatibility.</div><div class="gmail_extra"><br><div class="gmail_quote">Le 20 janv. 2017 11:05, &quot;Matej Novotny&quot; &lt;<a href="mailto:manovotn@redhat.com">manovotn@redhat.com</a>&gt; a écrit :<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Bad link, sorry, here is a permanent one<br>
<a href="https://lists.apache.org/thread.html/0cb489f620990037c9eaf16400dd06de7e5a979f8c78c046ab6ff3c1@%3Cdev.deltaspike.apache.org%3E" rel="noreferrer" target="_blank">https://lists.apache.org/<wbr>thread.html/<wbr>0cb489f620990037c9eaf16400dd06<wbr>de7e5a979f8c78c046ab6ff3c1@%<wbr>3Cdev.deltaspike.apache.org%3E</a><br>
<br>
----- Original Message -----<br>
&gt; From: &quot;Matej Novotny&quot; &lt;<a href="mailto:manovotn@redhat.com">manovotn@redhat.com</a>&gt;<br>
&gt; To: &quot;John Ament&quot; &lt;<a href="mailto:john.ament@spartasystems.com">john.ament@spartasystems.com</a>&gt;<br>
&gt; Cc: &quot;cdi-dev&quot; &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt; Sent: Friday, January 20, 2017 11:01:07 AM<br>
&gt; Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3<br>
&gt;<br>
&gt; Hi John<br>
&gt;<br>
&gt; It is a known &quot;issue&quot; which I even sent an email about to DS mailing list.<br>
&gt;<br>
&gt; The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of<br>
&gt; *default* methods which will then not be recognized.<br>
&gt; This in the end means that some DS classes (implementing interfaces from CDI<br>
&gt; where such methods were addded) cannot be compiled as implementation will be<br>
&gt; missing.<br>
&gt;<br>
&gt; The easiest solution is to compile with --source=1.8 and --target=1.8<br>
&gt;<br>
&gt; Here is the link to the email conversation I originally sent -<br>
&gt; <a href="https://lists.apache.org/list.html?dev@deltaspike.apache.org:2016-12" rel="noreferrer" target="_blank">https://lists.apache.org/list.<wbr>html?dev@deltaspike.apache.<wbr>org:2016-12</a><br>
&gt;<br>
&gt; Regards<br>
&gt; Matej<br>
&gt;<br>
&gt; ----- Original Message -----<br>
&gt; &gt; From: &quot;John Ament&quot; &lt;<a href="mailto:john.ament@spartasystems.com">john.ament@spartasystems.com</a>&gt;<br>
&gt; &gt; To: &quot;cdi-dev&quot; &lt;<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>&gt;<br>
&gt; &gt; Sent: Friday, January 20, 2017 10:50:45 AM<br>
&gt; &gt; Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; All,<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; Just as a heads up, not sure if we knew this or not, but presently<br>
&gt; &gt; DeltaSpike<br>
&gt; &gt; does not compile with CDI 2 on the classpath. DS ships with a number of<br>
&gt; &gt; implementations of Annotated within. Was getAnnotations intended to be a<br>
&gt; &gt; default method?<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; John<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; NOTICE: This e-mail message and any attachments may contain confidential,<br>
&gt; &gt; proprietary, and/or privileged information which should be treated<br>
&gt; &gt; accordingly. If you are not the intended recipient, please notify the<br>
&gt; &gt; sender<br>
&gt; &gt; immediately by return e-mail, delete this message, and destroy all physical<br>
&gt; &gt; and electronic copies. Thank you.<br>
&gt; &gt;<br>
&gt; &gt; ______________________________<wbr>_________________<br>
&gt; &gt; cdi-dev mailing list<br>
&gt; &gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt; &gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</a><br>
&gt; &gt;<br>
&gt; &gt; Note that for all code provided on this list, the provider licenses the<br>
&gt; &gt; code<br>
&gt; &gt; under the Apache License, Version 2<br>
&gt; &gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt; &gt; provided on this list, the provider waives all patent and other<br>
&gt; &gt; intellectual<br>
&gt; &gt; property rights inherent in such information.<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
&gt; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</a><br>
&gt;<br>
&gt; Note that for all code provided on this list, the provider licenses the code<br>
&gt; under the Apache License, Version 2<br>
&gt; (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</a>). For all other ideas<br>
&gt; provided on this list, the provider waives all patent and other intellectual<br>
&gt; property rights inherent in such information.<br>
&gt;<br>
______________________________<wbr>_________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</a><br>
<br>
Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="noreferrer" target="_blank">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</a>). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.<br>
</blockquote></div></div>