[weld-issues] [JBoss JIRA] Resolved: (WELD-488) Validation of parameterized injection points should work correctly when the decorated type is unparameterized

Marius Bogoevici (JIRA) jira-events at lists.jboss.org
Mon Apr 12 22:27:13 EDT 2010


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

Marius Bogoevici resolved WELD-488.
-----------------------------------

    Resolution: Done


Fixed.

vetinari:core marius$ svn ci -m "WELD-488 + Unit test expansion"  
Sending        impl/src/main/java/org/jboss/weld/bean/DecoratorImpl.java
Sending        tests/src/test/java/org/jboss/weld/tests/decorators/generic/extend/ExtendDecoratorTest.java
Transmitting file data ..
Committed revision 6098.

> Validation of parameterized injection points should work correctly when the decorated type is unparameterized
> -------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-488
>                 URL: https://jira.jboss.org/jira/browse/WELD-488
>             Project: Weld
>          Issue Type: Bug
>    Affects Versions: 1.0.1.Final
>            Reporter: Marius Bogoevici
>            Assignee: Marius Bogoevici
>             Fix For: 1.0.2.CR1
>
>
> The use case mentioned in the forum link fails because the decorated type is deemed as parameterized when in fact it isn't. In extension use cases, the check should take into account whether the most specific decorated type is decorated or not, and not whether one of its supertypes is decorated.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list