<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, "Matej Novotny" <<a href="mailto:manovotn@redhat.com">manovotn@redhat.com</a>> 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>
> From: "Matej Novotny" <<a href="mailto:manovotn@redhat.com">manovotn@redhat.com</a>><br>
> To: "John Ament" <<a href="mailto:john.ament@spartasystems.com">john.ament@spartasystems.com</a>><br>
> Cc: "cdi-dev" <<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>><br>
> Sent: Friday, January 20, 2017 11:01:07 AM<br>
> Subject: Re: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3<br>
><br>
> Hi John<br>
><br>
> It is a known "issue" which I even sent an email about to DS mailing list.<br>
><br>
> The cause is that DS compiles against Java 6 and CDI 2.0 adds a bunch of<br>
> *default* methods which will then not be recognized.<br>
> This in the end means that some DS classes (implementing interfaces from CDI<br>
> where such methods were addded) cannot be compiled as implementation will be<br>
> missing.<br>
><br>
> The easiest solution is to compile with --source=1.8 and --target=1.8<br>
><br>
> Here is the link to the email conversation I originally sent -<br>
> <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>
><br>
> Regards<br>
> Matej<br>
><br>
> ----- Original Message -----<br>
> > From: "John Ament" <<a href="mailto:john.ament@spartasystems.com">john.ament@spartasystems.com</a>><br>
> > To: "cdi-dev" <<a href="mailto:cdi-dev@lists.jboss.org">cdi-dev@lists.jboss.org</a>><br>
> > Sent: Friday, January 20, 2017 10:50:45 AM<br>
> > Subject: [cdi-dev] DeltaSpike not compiling with CDI 2.0/Weld 3<br>
> ><br>
> ><br>
> ><br>
> > All,<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > Just as a heads up, not sure if we knew this or not, but presently<br>
> > DeltaSpike<br>
> > does not compile with CDI 2 on the classpath. DS ships with a number of<br>
> > implementations of Annotated within. Was getAnnotations intended to be a<br>
> > default method?<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > John<br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> ><br>
> > NOTICE: This e-mail message and any attachments may contain confidential,<br>
> > proprietary, and/or privileged information which should be treated<br>
> > accordingly. If you are not the intended recipient, please notify the<br>
> > sender<br>
> > immediately by return e-mail, delete this message, and destroy all physical<br>
> > and electronic copies. Thank you.<br>
> ><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<br>
> > code<br>
> > under the Apache License, Version 2<br>
> > (<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>
> > provided on this list, the provider waives all patent and other<br>
> > intellectual<br>
> > property rights inherent in such information.<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<br>
> under the Apache License, Version 2<br>
> (<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>
> provided on this list, the provider waives all patent and other intellectual<br>
> property rights inherent in such information.<br>
><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>