[weld-issues] [JBoss JIRA] Updated: (CDITCK-165) Bug in org.jboss.jsr299.tck.tests.context.NormalContextTest # testSameNormalScopeBeanInjectedEverywhere

Pete Muir (JIRA) jira-events at lists.jboss.org
Fri May 28 05:49:08 EDT 2010

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

Pete Muir updated CDITCK-165:

    Fix Version/s: 1.0.2.Final


> Bug in org.jboss.jsr299.tck.tests.context.NormalContextTest # testSameNormalScopeBeanInjectedEverywhere
> -------------------------------------------------------------------------------------------------------
>                 Key: CDITCK-165
>                 URL: https://jira.jboss.org/browse/CDITCK-165
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 1.0.2.CR1
>            Reporter: Gurkan Erdogdu
>             Fix For: 1.0.2.Final
> In this method, this tests tries to compare the session context instance equality. I think this is not correct.
> Normal scoped beans returns "Proxy" for actual instances. In SimpleBeanA and SimpleBeanB bean instances, @Inject SimpleBeanZ z, may return a different proxy instances that represents the same SimpleBeanZ contextual instance.
> In OWB, we return different proxy instances for normal scoped beans, therefore instanceOfA.getZ() == instanceOfB.getZ( ) --> False, because we return different proxy instances for instanceOfA.getZ() and instanceOfB.getZ() that both of them represents the same z instance.
> Test may be updated to compare some instance variables of z instance.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the weld-issues mailing list