[weld-issues] [JBoss JIRA] (WELD-1089) Resource type is not checked against matching object in the Java EE component environment

Martin Kouba (JIRA) jira-events at lists.jboss.org
Wed Mar 14 08:17:48 EDT 2012


Martin Kouba created WELD-1089:
----------------------------------

             Summary: Resource type is not checked against matching object in the Java EE component environment
                 Key: WELD-1089
                 URL: https://issues.jboss.org/browse/WELD-1089
             Project: Weld
          Issue Type: Bug
    Affects Versions: 2.0.0.Alpha1, 1.1.5.Final
            Reporter: Martin Kouba


*3.6.1. Declaring a resource* states: "If the matching object in the Java EE component environment is not of the same type as the producer field declaration, the container automatically detects the problem and treats it as a definition error." 

See TCK test *org.jboss.cdi.tck.tests.implementation.simple.resource.broken.type.ResourceDefinitionWithDifferentTypeTest*.

--
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 weld-issues mailing list