[cdi-dev] [Vote] for CDI-616 resolution

Martin Kouba mkouba at redhat.com
Wed Aug 3 06:21:04 EDT 2016


My vote is (b) - IF AND ONLY IF the definition error only applies to a 
transient field injection point which resolves to a NORMAL SCOPED BEAN. 
Because a contextual reference (client proxy) for such a bean is always 
a passivation capable dependency. So there is no need to have it transient.

Otherwise my vote is (a).

Martin


Dne 3.8.2016 v 11:38 Emily Jiang napsal(a):
> 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 at uk.ibm.com
> Lotus Notes: Emily Jiang/UK/IBM at IBMGB
>
>
>
>
> From:        Antoine Sabot-Durand <antoine at sabot-durand.net>
> To:        cdi-dev <cdi-dev at lists.jboss.org>,
> Date:        03/08/2016 10:23
> Subject:        [cdi-dev] [Vote] for CDI-616 resolution
> Sent by:        cdi-dev-bounces at 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 at 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
>
>
> _______________________________________________
> cdi-dev mailing list
> cdi-dev at 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.
>

-- 
Martin Kouba
Software Engineer
Red Hat, Czech Republic


More information about the cdi-dev mailing list