<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
            <div>&gt;&gt; Now that JDK9 is out, if we want EE4J 9 (or whatever it's version will <br clear="none">&gt;&gt; be) to support jigsaw, we'll probably have to change packages names :-(.<br clear="none">&gt;<br clear="none">&gt; What packages do you have in mind? We don't "own" javax.annotation and <br clear="none">&gt; we cannot introduce our own priority annotation...<br clear="none"><div><br></div><div>Indeed we (CDI) do not own common-annotations.<br></div><div>That was the reason why the JSR-250 working group release a MR for it which did contain the changes we needed in CDI. So from our side (EE) all was fine imo.<br></div><div>It's just that the SE team didn't update the JDK to this official MR it seems. </div><div><br></div><div>LieGrue,</div><div>strub<br></div><div><br></div></div><div><br></div>
            
            <div id="ydp386b331cyahoo_quoted_9353699609" class="ydp386b331cyahoo_quoted">
                <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                    
                    <div>
                        On Monday, 23 October 2017, 10:31:22 GMT+2, Martin Kouba &lt;mkouba@redhat.com&gt; wrote:
                    </div>
                    
                    <div><br></div>
                    <div><div dir="ltr">Dne 23.10.2017 v 10:17 Antoine Sabot-Durand napsal(a):<br clear="none">&gt; I encountered the same type of collision with <br clear="none">&gt; java.transaction.InvalidTransactionException which is in the JDK and in <br clear="none">&gt; JTA. I remember sending this problem to jigsaw ML [1], but obviously <br clear="none">&gt; they didn't have time to do something or expect having Java EE spec do <br clear="none">&gt; the required stuff :-(.<br clear="none">&gt; Now that JDK9 is out, if we want EE4J 9 (or whatever it's version will <br clear="none">&gt; be) to support jigsaw, we'll probably have to change packages names :-(.<br clear="none"><br clear="none">What packages do you have in mind? We don't "own" javax.annotation and <br clear="none">we cannot introduce our own priority annotation...<br clear="none"><br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; Antoine<br clear="none">&gt; <br clear="none">&gt; [1] <a shape="rect" href="http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-July/008779.html" rel="nofollow" target="_blank">http://mail.openjdk.java.net/pipermail/jigsaw-dev/2016-July/008779.html</a><br clear="none">&gt; <br clear="none">&gt; <br clear="none">&gt; On Mon, Oct 23, 2017 at 9:51 AM Martin Kouba &lt;<a shape="rect" href="mailto:mkouba@redhat.com" rel="nofollow" target="_blank">mkouba@redhat.com</a> <br clear="none">&gt; &lt;mailto:<a shape="rect" href="mailto:mkouba@redhat.com" rel="nofollow" target="_blank">mkouba@redhat.com</a>&gt;&gt; wrote:<br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  For the record, the CDI API itself does not define a dependency on<br clear="none">&gt;&nbsp; &nbsp;  javax.annotation at all.<br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  In fact, I'm wondering why @Priority is not part of JDK?? I suppose the<br clear="none">&gt;&nbsp; &nbsp;  reasons are similar to why javax.annotation.Priority only has<br clear="none">&gt;&nbsp; &nbsp;  @Target({TYPE,PARAMETER}) (even if we tried to push other element<br clear="none">&gt;&nbsp; &nbsp;  types :-(.<br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  M<br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  Dne 21.10.2017 v 16:22 John Ament napsal(a):<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; Hey all<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; Not sure where else to turn ðŸ˜Š<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; I'm trying to start testing my apps on Java 9, I believe Java 9 kicks<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; back the javax.annotation dependency that CDI declares due to a<br clear="none">&gt;&nbsp; &nbsp;  package<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; collision with the built in JDK's javax.annotation package<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp;  &lt;<a shape="rect" href="https://docs.oracle.com/javase/9/docs/api/javax/annotation/package-summary.html" rel="nofollow" target="_blank">https://docs.oracle.com/javase/9/docs/api/javax/annotation/package-summary.html</a>&gt;.<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; The errors I get are due to missing javax/annotation/Priority.&nbsp; I'm<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; wondering if anyone else has tried this, and if there's a clean<br clear="none">&gt;&nbsp; &nbsp;  work around?<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; John<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp;  ------------------------------------------------------------------------<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; NOTICE: This e-mail message and any attachments may contain<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; confidential, proprietary, and/or privileged information which<br clear="none">&gt;&nbsp; &nbsp;  should be<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; treated accordingly. If you are not the intended recipient, please<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; notify the sender immediately by return e-mail, delete this<br clear="none">&gt;&nbsp; &nbsp;  message, and<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; destroy all physical and electronic copies. Thank you.<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; _______________________________________________<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; cdi-dev mailing list<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; <a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a> &lt;mailto:<a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; <a shape="rect" href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt; Note that for all code provided on this list, the provider<br clear="none">&gt;&nbsp; &nbsp;  licenses the code under the Apache License, Version 2<br clear="none">&gt;&nbsp; &nbsp;  (<a shape="rect" href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="nofollow" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other<br clear="none">&gt;&nbsp; &nbsp;  ideas provided on this list, the provider waives all patent and<br clear="none">&gt;&nbsp; &nbsp;  other intellectual property rights inherent in such information.<br clear="none">&gt;&nbsp; &nbsp; &nbsp; &gt;<br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  --<br clear="none">&gt;&nbsp; &nbsp;  Martin Kouba<br clear="none">&gt;&nbsp; &nbsp;  Senior Software Engineer<br clear="none">&gt;&nbsp; &nbsp;  Red Hat, Czech Republic<br clear="none">&gt;&nbsp; &nbsp;  _______________________________________________<br clear="none">&gt;&nbsp; &nbsp;  cdi-dev mailing list<br clear="none">&gt;&nbsp; &nbsp;  <a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a> &lt;mailto:<a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a>&gt;<div class="ydp386b331cyqt4762439281" id="ydp386b331cyqtfd02283"><br clear="none">&gt;&nbsp; &nbsp;  <a shape="rect" href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br clear="none">&gt; <br clear="none">&gt;&nbsp; &nbsp;  Note that for all code provided on this list, the provider licenses<br clear="none">&gt;&nbsp; &nbsp;  the code under the Apache License, Version 2<br clear="none">&gt;&nbsp; &nbsp;  (<a shape="rect" href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="nofollow" target="_blank">http://www.apache.org/licenses/LICENSE-2.0.html</a>). For all other<br clear="none">&gt;&nbsp; &nbsp;  ideas provided on this list, the provider waives all patent and<br clear="none">&gt;&nbsp; &nbsp;  other intellectual property rights inherent in such information.<br clear="none">&gt; <br clear="none"><br clear="none">-- <br clear="none">Martin Kouba<br clear="none">Senior Software Engineer<br clear="none">Red Hat, Czech Republic<br clear="none">_______________________________________________<br clear="none">cdi-dev mailing list<br clear="none"><a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a><br clear="none"><a shape="rect" href="https://lists.jboss.org/mailman/listinfo/cdi-dev" rel="nofollow" target="_blank">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br clear="none"><br clear="none">Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (<a shape="rect" href="http://www.apache.org/licenses/LICENSE-2.0.html" rel="nofollow" target="_blank">http://www.apache.org/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.</div></div></div>
                </div>
            </div></div></body></html>