[weld-issues] [JBoss JIRA] Closed: (WELD-428) Non-dependent-scoped producer method with parameterized return type (type variable) is not detected as a definition error

Pete Muir (JIRA) jira-events at lists.jboss.org
Wed Feb 17 17:35:56 EST 2010


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

Pete Muir closed WELD-428.
--------------------------

    Resolution: Done


> Non-dependent-scoped producer method with parameterized return type (type variable) is not detected as a definition error
> -------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WELD-428
>                 URL: https://jira.jboss.org/jira/browse/WELD-428
>             Project: Weld
>          Issue Type: Bug
>          Components: Producers (Methods, Fields and Disposers)
>    Affects Versions: 1.0.1.CR2
>            Reporter: Jozef Hartinger
>             Fix For: 1.0.1.GA
>
>
> If a producer method with a parameterized return type with a type variable declares any scope other than @Dependent, the container automatically detects the problem and treats it as a definition error.
> org.jboss.jsr299.tck.tests.implementation.producer.method.broken.parameterizedTypeWithTypeParameter.ParameterizedTypeWithTypeParameterTest.ParameterizedReturnTypeWithTypeVariableTest
> in the TCK trunk

-- 
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