[cdi-dev] [JBoss JIRA] (CDI-293) Reconsider enum support

Mark Struberg (JIRA) jira-events at lists.jboss.org
Sat Nov 10 19:52:18 EST 2012

    [ https://issues.jboss.org/browse/CDI-293?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12733244#comment-12733244 ] 

Mark Struberg commented on CDI-293:

+1 for removing
> Reconsider enum support
> -----------------------
>                 Key: CDI-293
>                 URL: https://issues.jboss.org/browse/CDI-293
>             Project: CDI Specification Issues
>          Issue Type: Feature Request
>    Affects Versions: 1.1.PRD
>            Reporter: Jozef Hartinger
>            Assignee: Pete Muir
>             Fix For: 1.1 (Proposed)
> The current version of the spec introduces support for scanning of enums and injection into enums.
> I discussed this with Pete and Stuart this week and the conclusion was that it is probably a mistake. 
> There is a problem with the injection part if the enum is shared across multiple CDI applications. If we dropped the injection part, the scanning and processing part themselves does not make much sense as the result of scanning would not be processed by CDI anyhow. However, it is convenient for some extensions to have enums scanned.

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

More information about the cdi-dev mailing list