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

Martin Kouba (JIRA) jira-events at lists.jboss.org
Mon Jun 4 07:59:19 EDT 2012


Martin Kouba created CDI-236:
--------------------------------

             Summary: 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
            Reporter: Martin Kouba
            Priority: Minor


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