<font size=2 face="sans-serif">I think there are 4a and 4b</font>
<br><font size=2 face="sans-serif">I'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>
<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: +44 (0)1962 816278 Internal: 246278<br>
<br>
Email: emijiang@uk.ibm.com <br>
Lotus Notes: Emily Jiang/UK/IBM@IBMGB<br>
</font>
<br>
<br>
<br>
<br><font size=1 color=#5f5f5f face="sans-serif">From:
</font><font size=1 face="sans-serif">Martin Kouba <mkouba@redhat.com></font>
<br><font size=1 color=#5f5f5f face="sans-serif">To:
</font><font size=1 face="sans-serif">cdi-dev@lists.jboss.org,
</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">cdi-dev-bounces@lists.jboss.org</font>
<br>
<hr noshade>
<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>
> My vote is b.<br>
><br>
> Since it is not working in the current version, no functioning<br>
> applications should rely on it. Throwing an exception is clearer to
the<br>
> developers.<br>
><br>
> Many thanks,<br>
> Emily<br>
> ===========================<br>
> Emily Jiang<br>
> WebSphere Application Server, CDI Development Lead<br>
><br>
> MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN<br>
> Phone: +44 (0)1962 816278 Internal: 246278<br>
><br>
> Email: emijiang@uk.ibm.com<br>
> Lotus Notes: Emily Jiang/UK/IBM@IBMGB<br>
><br>
><br>
><br>
><br>
> From: Antoine Sabot-Durand <antoine@sabot-durand.net><br>
> To: cdi-dev <cdi-dev@lists.jboss.org>,<br>
> Date: 03/08/2016 10:23<br>
> Subject: [cdi-dev] [Vote] for CDI-616 resolution<br>
> Sent by: cdi-dev-bounces@lists.jboss.org<br>
> ------------------------------------------------------------------------<br>
><br>
><br>
><br>
> Hi all,<br>
><br>
> During yesterday(s meeting we discussed how to solve CDI-616 issue.<br>
> 2 options are possible but we didn't find an agreement, so the best<br>
> solution here would be to vote.<br>
><br>
> Options are:<br>
><br>
> a) Do nothing about injection in transient fields (todays behaviour)
but<br>
> add a clarification in the spec saying that using them is not supported.<br>
> b) Throw an exception at boot time if a transient field is an injection<br>
> point.<br>
><br>
> To vote, just answer to this mail with the letter of your vote. Vote<br>
> will last 72 hrs from the hour of this mail.<br>
><br>
> Thank you,<br>
><br>
> Antoine _______________________________________________<br>
> cdi-dev mailing list<br>
> cdi-dev@lists.jboss.org<br>
> </font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev"><tt><font size=2>https://lists.jboss.org/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<br>
> code under the Apache License, Version 2<br>
> (</font></tt><a href="http://www.apache.org/licenses/LICENSE-2.0.html"><tt><font size=2>http://www.apache.org/licenses/LICENSE-2.0.html</font></tt></a><tt><font size=2>).
For all other ideas<br>
> provided on this list, the provider waives all patent and other<br>
> intellectual property rights inherent in such information.<br>
><br>
> Unless stated otherwise above:<br>
> IBM United Kingdom Limited - Registered in England and Wales with
number<br>
> 741598.<br>
> Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire
PO6 3AU<br>
><br>
><br>
> _______________________________________________<br>
> cdi-dev mailing list<br>
> cdi-dev@lists.jboss.org<br>
> </font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev"><tt><font size=2>https://lists.jboss.org/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"><tt><font size=2>http://www.apache.org/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>
<br>
-- <br>
Martin Kouba<br>
Software Engineer<br>
Red Hat, Czech Republic<br>
_______________________________________________<br>
cdi-dev mailing list<br>
cdi-dev@lists.jboss.org<br>
</font></tt><a href="https://lists.jboss.org/mailman/listinfo/cdi-dev"><tt><font size=2>https://lists.jboss.org/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"><tt><font size=2>http://www.apache.org/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>