<html><head></head><body><div style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:16px;"><div></div>
<div>>> Now that JDK9 is out, if we want EE4J 9 (or whatever it's version will <br clear="none">>> 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"><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 <mkouba@redhat.com> wrote:
</div>
<div><br></div>
<div><div dir="ltr">Dne 23.10.2017 v 10:17 Antoine Sabot-Durand napsal(a):<br clear="none">> I encountered the same type of collision with <br clear="none">> java.transaction.InvalidTransactionException which is in the JDK and in <br clear="none">> JTA. I remember sending this problem to jigsaw ML [1], but obviously <br clear="none">> they didn't have time to do something or expect having Java EE spec do <br clear="none">> the required stuff :-(.<br clear="none">> Now that JDK9 is out, if we want EE4J 9 (or whatever it's version will <br clear="none">> 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">> <br clear="none">> <br clear="none">> Antoine<br clear="none">> <br clear="none">> [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">> <br clear="none">> <br clear="none">> On Mon, Oct 23, 2017 at 9:51 AM Martin Kouba <<a shape="rect" href="mailto:mkouba@redhat.com" rel="nofollow" target="_blank">mkouba@redhat.com</a> <br clear="none">> <mailto:<a shape="rect" href="mailto:mkouba@redhat.com" rel="nofollow" target="_blank">mkouba@redhat.com</a>>> wrote:<br clear="none">> <br clear="none">> For the record, the CDI API itself does not define a dependency on<br clear="none">> javax.annotation at all.<br clear="none">> <br clear="none">> In fact, I'm wondering why @Priority is not part of JDK?? I suppose the<br clear="none">> reasons are similar to why javax.annotation.Priority only has<br clear="none">> @Target({TYPE,PARAMETER}) (even if we tried to push other element<br clear="none">> types :-(.<br clear="none">> <br clear="none">> M<br clear="none">> <br clear="none">> Dne 21.10.2017 v 16:22 John Ament napsal(a):<br clear="none">> > Hey all<br clear="none">> ><br clear="none">> ><br clear="none">> > Not sure where else to turn 😊<br clear="none">> ><br clear="none">> ><br clear="none">> > I'm trying to start testing my apps on Java 9, I believe Java 9 kicks<br clear="none">> > back the javax.annotation dependency that CDI declares due to a<br clear="none">> package<br clear="none">> > collision with the built in JDK's javax.annotation package<br clear="none">> ><br clear="none">> <<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>>.<br clear="none">> > The errors I get are due to missing javax/annotation/Priority. I'm<br clear="none">> > wondering if anyone else has tried this, and if there's a clean<br clear="none">> work around?<br clear="none">> ><br clear="none">> ><br clear="none">> > John<br clear="none">> ><br clear="none">> ><br clear="none">> ------------------------------------------------------------------------<br clear="none">> > NOTICE: This e-mail message and any attachments may contain<br clear="none">> > confidential, proprietary, and/or privileged information which<br clear="none">> should be<br clear="none">> > treated accordingly. If you are not the intended recipient, please<br clear="none">> > notify the sender immediately by return e-mail, delete this<br clear="none">> message, and<br clear="none">> > destroy all physical and electronic copies. Thank you.<br clear="none">> ><br clear="none">> ><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> <mailto:<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<br clear="none">> licenses the code under the Apache License, Version 2<br clear="none">> (<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">> ideas provided on this list, the provider waives all patent and<br clear="none">> other intellectual property rights inherent in such information.<br clear="none">> ><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> <mailto:<a shape="rect" href="mailto:cdi-dev@lists.jboss.org" rel="nofollow" target="_blank">cdi-dev@lists.jboss.org</a>><div class="ydp386b331cyqt4762439281" id="ydp386b331cyqtfd02283"><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<br clear="none">> the code under the Apache License, Version 2<br clear="none">> (<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">> ideas provided on this list, the provider waives all patent and<br clear="none">> other intellectual property rights inherent in such information.<br clear="none">> <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>