[jbosstools-issues] [JBoss JIRA] Resolved: (JBIDE-6151) Scope Type declared @Inherited should be blocked by intermediate scope type which is not marked @Inherited

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Wed Apr 7 11:11:38 EDT 2010


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

Viacheslav Kabanovich resolved JBIDE-6151.
------------------------------------------

    Resolution: Done


> Scope Type declared @Inherited should be blocked by intermediate scope type which is not marked @Inherited
> ----------------------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-6151
>                 URL: https://jira.jboss.org/jira/browse/JBIDE-6151
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: cdi (jsr-299)
>    Affects Versions: 3.2.next
>            Reporter: Alexey Kazakov
>            Assignee: Viacheslav Kabanovich
>             Fix For: 3.2.next
>
>
> For example:
> class GoldenLabrador extends Labrador {}
> @NotInheritedScope
> class Labrador extends Dog {}
> @RequestScoped
> class Dog {}
> @RequestScoped is marked @Inherited but @NotInheritedScope is not.
> Then GoldenLabrador should have javax.enterprise.context.Dependent scope type.
> org.jboss.tools.cdi.core.test.tck.ScopeDefinitionTest.testScopeTypeDeclaredInheritedIsBlockedByIntermediateScopeTypeNotMarkedInherited() must pass.

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