[cdi-dev] [JBoss JIRA] (CDI-236) Injection point of type Instance/Event must have a type parameter

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Aug 29 11:07:32 EDT 2012


     [ https://issues.jboss.org/browse/CDI-236?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir resolved CDI-236.
---------------------------

    Resolution: Done

    
> Injection point of type Instance/Event must have a type parameter
> -----------------------------------------------------------------
>
>                 Key: CDI-236
>                 URL: https://issues.jboss.org/browse/CDI-236
>             Project: CDI Specification Issues
>          Issue Type: Clarification
>          Components: Events, Resolution
>    Affects Versions: 1.0
>            Reporter: Martin Kouba
>            Assignee: Pete Muir
>            Priority: Minor
>             Fix For: 1.1.PRD
>
>
> IMHO this is not implied. One could think *{{@Inject Instance instance}}* is equivalent to *{{@Inject Instance<Object> instance}}*. 
> Note that RI (Weld) does not allow this at the moment and treats *{{@Inject Instance instance}}* or *{{@Inject Event event}}* as a definition error.
> In any case the spec should clarify this so that we could write valid TCK tests for this.  

--
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