<div dir="ltr"><div>Enforcing the right usage would be great, but it would also break existing applications.</div><div><br></div><div>I, therefore, vote: (a)</div><div><br></div>Developers who introduced this to their code most likely handle the existing behaviour in some way and I don&#39;t see a reason to break that.<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>--</div><div><b>Thorben Janssen</b><br></div><div><br></div><div><a href="https://twitter.com/thjanssen123" target="_blank">@thjanssen123</a><br></div><a href="http://www.thoughts-on-java.org" target="_blank">www.thoughts-on-java.org</a> <br></div></div></div>
<br><div class="gmail_quote">2016-08-03 14:55 GMT+02:00 Emily Jiang <span dir="ltr">&lt;<a href="mailto:EMIJIANG@uk.ibm.com" target="_blank">EMIJIANG@uk.ibm.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><font size="2" face="sans-serif">I think there are 4a and 4b</font>
<br><font size="2" face="sans-serif">I&#39;m happy for b to be reworded to</font>
<br>
<br><font size="2" face="sans-serif">b) A definition error will be thrown
if the injection point is transient and resolves to a normal scoped bean.</font>
<br><span class="">
<br>
<br><font size="2" face="sans-serif">Many thanks,<br>
Emily<br>
===========================<br>
Emily Jiang<br>
WebSphere Application Server, CDI Development Lead</font>
<br><font size="2" face="sans-serif"> <br>
MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN<br>
Phone:  <a href="tel:%2B44%20%280%291962%20816278" value="+441962816278" target="_blank">+44 (0)1962 816278</a>  Internal: 246278<br>
<br>
Email: <a href="mailto:emijiang@uk.ibm.com" target="_blank">emijiang@uk.ibm.com</a> <br>
Lotus Notes: Emily Jiang/UK/IBM@IBMGB<br>
</font>
<br>
<br>
<br>
<br></span><font size="1" color="#5f5f5f" face="sans-serif">From:      
 </font><font size="1" face="sans-serif">Martin Kouba &lt;<a href="mailto:mkouba@redhat.com" target="_blank">mkouba@redhat.com</a>&gt;</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">To:      
 </font><font size="1" face="sans-serif"><a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>,
</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Date:      
 </font><font size="1" face="sans-serif">03/08/2016 11:22</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Subject:    
   </font><font size="1" face="sans-serif">Re: [cdi-dev]
[Vote] for CDI-616 resolution</font>
<br><font size="1" color="#5f5f5f" face="sans-serif">Sent by:    
   </font><font size="1" face="sans-serif"><a href="mailto:cdi-dev-bounces@lists.jboss.org" target="_blank">cdi-dev-bounces@lists.jboss.<wbr>org</a></font>
<br>
<hr noshade><div class="HOEnZb"><div class="h5">
<br>
<br>
<br><tt><font size="2">My vote is (b) - IF AND ONLY IF the definition error
only applies to a <br>
transient field injection point which resolves to a NORMAL SCOPED BEAN.
<br>
Because a contextual reference (client proxy) for such a bean is always
<br>
a passivation capable dependency. So there is no need to have it transient.<br>
<br>
Otherwise my vote is (a).<br>
<br>
Martin<br>
<br>
<br>
Dne 3.8.2016 v 11:38 Emily Jiang napsal(a):<br>
&gt; My vote is b.<br>
&gt;<br>
&gt; Since it is not working in the current version, no functioning<br>
&gt; applications should rely on it. Throwing an exception is clearer to
the<br>
&gt; developers.<br>
&gt;<br>
&gt; Many thanks,<br>
&gt; Emily<br>
&gt; ===========================<br>
&gt; Emily Jiang<br>
&gt; WebSphere Application Server, CDI Development Lead<br>
&gt;<br>
&gt; MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN<br>
&gt; Phone:  <a href="tel:%2B44%20%280%291962%20816278" value="+441962816278" target="_blank">+44 (0)1962 816278</a>  Internal: 246278<br>
&gt;<br>
&gt; Email: <a href="mailto:emijiang@uk.ibm.com" target="_blank">emijiang@uk.ibm.com</a><br>
&gt; Lotus Notes: Emily Jiang/UK/IBM@IBMGB<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; From:        Antoine Sabot-Durand &lt;<a href="mailto:antoine@sabot-durand.net" target="_blank">antoine@sabot-durand.net</a>&gt;<br>
&gt; To:        cdi-dev &lt;<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a>&gt;,<br>
&gt; Date:        03/08/2016 10:23<br>
&gt; Subject:        [cdi-dev] [Vote] for CDI-616 resolution<br>
&gt; Sent by:        <a href="mailto:cdi-dev-bounces@lists.jboss.org" target="_blank">cdi-dev-bounces@lists.jboss.<wbr>org</a><br>
&gt; ------------------------------<wbr>------------------------------<wbr>------------<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Hi all,<br>
&gt;<br>
&gt; During yesterday(s meeting we discussed how to solve CDI-616 issue.<br>
&gt; 2 options are possible but we didn&#39;t find an agreement, so the best<br>
&gt; solution here would be to vote.<br>
&gt;<br>
&gt; Options are:<br>
&gt;<br>
&gt; a) Do nothing about injection in transient fields (todays behaviour)
but<br>
&gt; add a clarification in the spec saying that using them is not supported.<br>
&gt; b) Throw an exception at boot time if a transient field is an injection<br>
&gt; point.<br>
&gt;<br>
&gt; To vote, just answer to this mail with the letter of your vote. Vote<br>
&gt; will last 72 hrs from the hour of this mail.<br>
&gt;<br>
&gt; Thank you,<br>
&gt;<br>
&gt; Antoine  _____________________________<wbr>__________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank"><tt><font size="2">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</font></tt></a><tt><font size="2"><br>
&gt;<br>
&gt; Note that for all code provided on this list, the provider licenses
the<br>
&gt; code under the Apache License, Version 2<br>
&gt; (</font></tt><a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank"><tt><font size="2">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</font></tt></a><tt><font size="2">).
For all other ideas<br>
&gt; provided on this list, the provider waives all patent and other<br>
&gt; intellectual property rights inherent in such information.<br>
&gt;<br>
&gt; Unless stated otherwise above:<br>
&gt; IBM United Kingdom Limited - Registered in England and Wales with
number<br>
&gt; 741598.<br>
&gt; Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 3AU<br>
&gt;<br>
&gt;<br>
&gt; ______________________________<wbr>_________________<br>
&gt; cdi-dev mailing list<br>
&gt; <a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
&gt; </font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank"><tt><font size="2">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</font></tt></a><tt><font size="2"><br>
&gt;<br>
&gt; Note that for all code provided on this list, the provider licenses
the code under the Apache License, Version 2 (</font></tt><a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank"><tt><font size="2">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</font></tt></a><tt><font size="2">).
For all other ideas provided on this list, the provider waives all patent
and other intellectual property rights inherent in such information.<br>
&gt;<br>
<br>
-- <br>
Martin Kouba<br>
Software Engineer<br>
Red Hat, Czech Republic<br>
______________________________<wbr>_________________<br>
cdi-dev mailing list<br>
<a href="mailto:cdi-dev@lists.jboss.org" target="_blank">cdi-dev@lists.jboss.org</a><br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev" target="_blank"><tt><font size="2">https://lists.jboss.org/<wbr>mailman/listinfo/cdi-dev</font></tt></a><tt><font size="2"><br>
<br>
Note that for all code provided on this list, the provider licenses the
code under the Apache License, Version 2 (</font></tt><a href="http://www.apache.org/licenses/LICENSE-2.0.html" target="_blank"><tt><font size="2">http://www.apache.org/<wbr>licenses/LICENSE-2.0.html</font></tt></a><tt><font size="2">).
For all other ideas provided on this list, the provider waives all patent
and other intellectual property rights inherent in such information.<br>
<br>
</font></tt>
<br><font size="2" face="sans-serif"><br>
Unless stated otherwise above:<br>
IBM United Kingdom Limited - Registered in England and Wales with number
741598. <br>
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6
3AU<br>
</font></div></div><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><br></div></div>