[webbeans-issues] [JBoss JIRA] Commented: (WBRI-169) Bean type with type variable throws incorrect exception on deployment

Pete Muir (JIRA) jira-events at lists.jboss.org
Tue Mar 24 07:54:22 EDT 2009


    [ https://jira.jboss.org/jira/browse/WBRI-169?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12458734#action_12458734 ] 

Pete Muir commented on WBRI-169:
--------------------------------

If both tests pass, then mark them to run, and close the issue.

Yes, we need to check for wildcards (second test)

> Bean type with type variable throws incorrect exception on deployment
> ---------------------------------------------------------------------
>
>                 Key: WBRI-169
>                 URL: https://jira.jboss.org/jira/browse/WBRI-169
>             Project: Web Beans
>          Issue Type: Bug
>    Affects Versions: 1.0.0.BETA1
>            Reporter: Shane Bryzak
>            Assignee: Nicklas Karlsson
>            Priority: Minor
>             Fix For: 1.0.0.PREVIEW
>
>
> Section 2.2 of the spec says:  "Bean types may not declare a type variable. If the type of an injection point is a parameterized type with a type variable, a DefinitionException is thrown by the container at deployment time."
> The TCK tests org.jboss.jsr299.tck.tests.definition.deployment.broken.typevariable.ParameterizedTypeInjectionTest and org.jboss.jsr299.tck.tests.definition.deployment.broken.wildcard.WilcardTypeInjectionTest should be throwing a DefinitionException at deployment time, however are throwing an UnsatisfiedDependencyException instead (tests are currently marked as ri-broken).  

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