<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">No, it is part of the JDK - check out the packages available in your IDE, or look at the Javadoc.&nbsp;<a href="http://docs.oracle.com/javase/8/docs/api/javax/annotation/package-summary.html" class="">http://docs.oracle.com/javase/8/docs/api/javax/annotation/package-summary.html</a><div class=""><br class=""></div><div class="">We can get an MR no problem, however it is critical IMO that this update makes it in the JDK in a timely fashion to avoid people having to use the endorsed dir to upgrade JSR-250 (Antoine mentioned you have to add it as a dependency, but it’s worse - you have to add it to the endorsed dir).</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 28 Oct 2014, at 11:40, Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" class="">werner.keil@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">AFAIK that is not part of the JDK, thus it should make it easier to ask them for a MR, last happened about a year ago: <a href="https://jcp.org/en/jsr/detail?id=250" class="">https://jcp.org/en/jsr/detail?id=250</a><div class="gmail_extra"><br clear="all" class=""><div class=""><div dir="ltr" class=""><span style="font-family:arial,sans-serif" class=""><p style="margin:0px;font-size:13px;border-collapse:collapse" class=""><span style="text-transform: none; text-indent: 0px; letter-spacing: normal; word-spacing: 0px; white-space: normal; border-collapse: separate;" class=""><span style="font-family:Helvetica" class=""><span style="font-family:Calibri;font-size:12px" class=""></span></span></span></p>
<div class=""><font face="Arial" class=""><span style="font-family:arial,sans-serif" class="">
<br class=""></span></font></div></span><div class=""><br class=""></div></div></div><br class=""><div class="gmail_quote">On Tue, Oct 28, 2014 at 12:33 PM, Pete Muir <span dir="ltr" class="">&lt;<a href="mailto:pmuir@redhat.com" target="_blank" class="">pmuir@redhat.com</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid"><div style="" class="">I would be +1 if we can get a commitment to update the version of JSR-250 shipped in the JDK updated as well, otherwise -1<div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class=""><div class="h5"><div class="">On 28 Oct 2014, at 10:13, Werner Keil &lt;<a href="mailto:werner.keil@gmail.com" target="_blank" class="">werner.keil@gmail.com</a>&gt; wrote:</div><br class=""></div></div><div class=""><div class=""><div class="h5"><div dir="ltr" class=""><div class="">+1 for 1)</div><div class=""><br class=""></div><div class="">Unlike @Inject the Maven JAR for JSR-250 is a bit bigger (~20kb) but there are existing dependencies that are not part of the JDK, most notably JSR-330. </div><div class=""><br class=""></div><div class="">Not sure, if subpackages like "security" or "sql" under 250 matter at all, if not, we could explore if the ideas for "stripping" libraries proposed by Oracle may also work for SE/EE. This was discussed by&nbsp;OpenJDK architects including Mark Reinhold with the EC. So far no real progress on that, but till this JSR goes final or EE 8 it could work to get dependencies a bit lighter, too.</div><div class=""><br class=""></div><div class="">It is likely, some annotation JSRs not just 250 need overhaul, e.g. to finally make use of JSR-308, so an MR for 250 could be cumbersome, but seems much easier here than e.g. bringing JSR-305 back to life;-)<br class=""></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div dir="ltr" class=""><span style="font-family:arial,sans-serif" class=""><p style="margin:0px;font-size:13px;border-collapse:collapse" class=""><span style="text-transform:none;text-indent:0px;letter-spacing:normal;word-spacing:0px;white-space:normal;border-collapse:separate" class=""><span style="font-family:Helvetica" class=""><span style="font-family:Calibri;font-size:12px" class=""></span></span></span></p>
<div class=""><font face="Arial" class=""><span style="font-family:arial,sans-serif" class=""><div style="margin:0px;font-size:13px;border-collapse:collapse" class=""><span lang="EN-US" style="font-family:Calibri" class="">Werner</span></div></span><div style="margin:0px;font-size:13px;border-collapse:collapse" class=""><br class=""></div></font><div style="margin:0px;font-size:13px;border-collapse:collapse" class=""><br class=""></div></div></span></div></div><div class="gmail_quote">On Tue, Oct 28, 2014 at 9:58 AM,  <span dir="ltr" class="">&lt;<a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank" class="">cdi-dev-request@lists.jboss.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;padding-left:1ex;border-left-color:rgb(204,204,204);border-left-width:1px;border-left-style:solid">Send cdi-dev mailing list submissions to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank" class="">cdi-dev@lists.jboss.org</a><br class="">
<br class="">
To subscribe or unsubscribe via the World Wide Web, visit<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br class="">
or, via email, send a message with subject or body 'help' to<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:cdi-dev-request@lists.jboss.org" target="_blank" class="">cdi-dev-request@lists.jboss.org</a><br class="">
<br class="">
You can reach the person managing the list at<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; <a href="mailto:cdi-dev-owner@lists.jboss.org" target="_blank" class="">cdi-dev-owner@lists.jboss.org</a><br class="">
<br class="">
When replying, please edit your Subject line so it is more specific<br class="">
than "Re: Contents of cdi-dev digest..."<br class="">
<br class="">
<br class="">
Today's Topics:<br class="">
<br class="">
&nbsp; &nbsp;1. Re: microbenchmark for CDI performance (Mohan Radhakrishnan)<br class="">
&nbsp; &nbsp;2. [VOTE] Using @Priority to order events instead of adding&nbsp; a<br class="">
&nbsp; &nbsp; &nbsp; parameter in @Observes (Antoine Sabot-Durand)<br class="">
&nbsp; &nbsp;3. No meeting tomorrow (Antoine Sabot-Durand)<br class="">
&nbsp; &nbsp;4. Updated Invitation: CDI weekly meeting @ Weekly from 18:00 to<br class="">
&nbsp; &nbsp; &nbsp; 19:00 on Wednesday except Wed 1 Oct 18:00, Wed 15 Oct 18:00 or<br class="">
&nbsp; &nbsp; &nbsp; Wed 29 Oct 18:00 (ASD Perso) (<a href="mailto:antoine@sabot-durand.net" target="_blank" class="">antoine@sabot-durand.net</a>)<br class="">
<br class="">
<br class="">
----------------------------------------------------------------------<br class="">

<br class="">
Message: 2<br class="">
Date: Tue, 28 Oct 2014 09:56:14 +0100<br class="">
From: Antoine Sabot-Durand &lt;<a href="mailto:antoine@sabot-durand.net" target="_blank" class="">antoine@sabot-durand.net</a>&gt;<br class="">
Subject: [cdi-dev] [VOTE] Using @Priority to order events instead of<br class="">
&nbsp; &nbsp; &nbsp; &nbsp; adding&nbsp; a parameter in @Observes<br class="">
To: cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank" class="">cdi-dev@lists.jboss.org</a>&gt;<br class="">
Message-ID: &lt;<a href="mailto:ECAAD9B3-649C-4856-BB24-82AB9EF41763@sabot-durand.net" target="_blank" class="">ECAAD9B3-649C-4856-BB24-82AB9EF41763@sabot-durand.net</a>&gt;<br class="">
Content-Type: text/plain; charset=utf-8<br class="">
<br class="">
To add events ordering feature we have two choices:<br class="">
<br class="">
1) Use @Priority from common annotation specification (JSR-250)&nbsp; (vote +1)<br class="">
pros:<br class="">
- more consistent with other ordering mechanism we already have in CDI (Interceptors, decorators, Alternatives)<br class="">
- more Java EE consistent<br class="">
<br class="">
cons:<br class="">
- time consumed in JSR 250 MR participation (@Priority must be update to support parameter for target)<br class="">
- as @Priority is not part of Java SE, CDI light on java SE will have to add the jsr250 jar as dependency only to have this annotation (which will make it a little less light)<br class="">
<br class="">
2) Add a parameter to @Observes annotation to give order to an observer (vote -1)<br class="">
pros:<br class="">
- works out of the box (we can add this property without ask for other specs modification)<br class="">
- avoid two annotations to declare an ordered observer (simpler usage)<br class="">
<br class="">
cons:<br class="">
- less Java EE spirit<br class="">
- could be seen as an inconsistency with the way we order Interceptors, Decorators and Alternatives.<br class="">
<br class="">
????????????????????<br class="">
<br class="">
Who can vote?&nbsp; Everybody registered to this ML can vote. All votes will be binding<br class="">
How to vote? Answer this mail and vote +1 (for @Priority) 0 or -1(for parameter in @Observes)<br class="">
Vote will be closed in 72 hours<br class="">
</blockquote></div><br class=""></div></div></div></div>
_______________________________________________<br class="">cdi-dev mailing list<br class=""><a href="mailto:cdi-dev@lists.jboss.org" target="_blank" class="">cdi-dev@lists.jboss.org</a><br class=""><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank" class="">https://lists.jboss.org/mailman/listinfo/cdi-dev</a><br class=""><br class="">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" target="_blank" class="">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></blockquote></div><br class=""></div></div></blockquote></div><br class=""></div></div>
</div></blockquote></div><br class=""></div></body></html>