My vote is b.

Since it is not working in the current version, no functioning applications should rely on it. Throwing an exception is clearer to the developers.

Many thanks,
Emily
===========================
Emily Jiang
WebSphere Application Server, CDI Development Lead

 
MP 211, DE3A20, Winchester, Hampshire, England, SO21 2JN
Phone:  +44 (0)1962 816278  Internal: 246278

Email: emijiang@uk.ibm.com
Lotus Notes: Emily Jiang/UK/IBM@IBMGB




From:        Antoine Sabot-Durand <antoine@sabot-durand.net>
To:        cdi-dev <cdi-dev@lists.jboss.org>,
Date:        03/08/2016 10:23
Subject:        [cdi-dev] [Vote] for CDI-616 resolution
Sent by:        cdi-dev-bounces@lists.jboss.org




Hi all,

During yesterday(s meeting we discussed how to solve CDI-616 issue.
2 options are possible but we didn't find an agreement, so the best solution here would be to vote.

Options are:

a) Do nothing about injection in transient fields (todays behaviour) but add a clarification in the spec saying that using them is not supported.
b) Throw an exception at boot time if a transient field is an injection point.

To vote, just answer to this mail with the letter of your vote. Vote will last 72 hrs from the hour of this mail.

Thank you,

Antoine  _______________________________________________
cdi-dev mailing list
cdi-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/cdi-dev

Note that for all code provided on this list, the provider licenses the code under the Apache License, Version 2 (
http://www.apache.org/licenses/LICENSE-2.0.html). For all other ideas provided on this list, the provider waives all patent and other intellectual property rights inherent in such information.

Unless stated otherwise above:
IBM United Kingdom Limited - Registered in England and Wales with number 741598.
Registered office: PO Box 41, North Harbour, Portsmouth, Hampshire PO6 3AU