[weld-issues] [JBoss JIRA] (CDITCK-249) Incorrect specialization in org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationTest
Martin Kouba (Commented) (JIRA)
jira-events at lists.jboss.org
Wed Dec 7 08:41:40 EST 2011
[ https://issues.jboss.org/browse/CDITCK-249?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12648841#comment-12648841 ]
Martin Kouba commented on CDITCK-249:
-------------------------------------
You're right.
Fixed in this way: OfficeLocal extends BuildingLocal
Also added new TCK test:
*org.jboss.jsr299.tck.tests.inheritance.specialization.simple.broken.types.SpecializingBeanWithoutBeanTypeOfSpecializedBeanTest*
> Incorrect specialization in org.jboss.jsr299.tck.tests.inheritance.specialization.enterprise.EnterpriseBeanSpecializationTest
> -----------------------------------------------------------------------------------------------------------------------------
>
> Key: CDITCK-249
> URL: https://issues.jboss.org/browse/CDITCK-249
> Project: CDI TCK
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Components: Tests
> Affects Versions: 1.0.4.Final
> Reporter: Jozef Hartinger
> Assignee: Martin Kouba
> Priority: Blocker
> Fix For: 1.0.5.CR1, 1.1.0.CR1
>
>
> Office specializes Building
> The spec says:
> "If X (Office) does not have some bean type of Y (Building), the container automatically detects the problem and treats it as a definition error."
> The Building bean has the type BuildingImpl which the Office bean lacks, thus the testcase is incorrectly defined.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the weld-issues
mailing list