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

Alexey Kazakov (JIRA) jira-events at lists.jboss.org
Tue Apr 6 11:11:38 EDT 2010


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