[weld-issues] [JBoss JIRA] Commented: (CDITCK-120) Seems a bug in DependentContextTest

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Tue Feb 23 11:49:19 EST 2010


    [ https://jira.jboss.org/jira/browse/CDITCK-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12516081#action_12516081 ] 

Gurkan Erdogdu commented on CDITCK-120:
---------------------------------------

I think that this is important. Otherwise you write TCK for Weld not for other implementations. And spec. says that this must not be called directly, if it calls directly behaviour is undefined. It works on weld but not work on other implementations. So this issue must not be closed.

> Seems a bug in DependentContextTest
> -----------------------------------
>
>                 Key: CDITCK-120
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-120
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>            Reporter: Gurkan Erdogdu
>            Assignee: Pete Muir
>
> org.jboss.jsr299.tck.tests.context.dependent.DependentContextTest belows test methods directly use Bean#create method to create actual bean instances. But this method must not be used directly, instead of BeanManager#getReference must be used.
> Therefore tests are failed.
> Methods
> -----------------
> testDependentScopedDecoratorsAreDependentObjectsOfBean
> testDependentScopedInterceptorsAreDependentObjectsOfBean

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