[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
Thu Aug 2 14:25:07 EDT 2012


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

Pete Muir updated CDI-236:
--------------------------

        Fix Version/s: 1.1 (Proposed)
    Affects Version/s: 1.0
          Component/s: Events

    
> 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
>    Affects Versions: 1.0
>            Reporter: Martin Kouba
>            Priority: Minor
>             Fix For: 1.1 (Proposed)
>
>
> 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: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the cdi-dev mailing list