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

Jozef Hartinger commented on WELD-1089:
---------------------------------------

Partially handled by 
https://github.com/weld/core/commit/ba1932a75ee29c4a984432838a76d2f912dfe89f
                
> 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: 1.1.5.Final, 2.0.0.Alpha1
>            Reporter: Martin Kouba
>            Assignee: Jozef Hartinger
>             Fix For: 2.0.0.Alpha3
>
>
> *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

        
_______________________________________________
weld-issues mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/weld-issues

Reply via email to