[weld-issues] [JBoss JIRA] Created: (CDITCK-142) Bug in DependentContextTest

Gurkan Erdogdu (JIRA) jira-events at lists.jboss.org
Wed Apr 14 15:43:25 EDT 2010


Bug in DependentContextTest
---------------------------

                 Key: CDITCK-142
                 URL: https://jira.jboss.org/jira/browse/CDITCK-142
             Project: CDI TCK
          Issue Type: Bug
      Security Level: Public (Everyone can see)
            Reporter: Gurkan Erdogdu


 public void testDependentsDestroyedWhenProducerMethodCompletes(), this tests tests destroying of dependents when producer methods completes. But specification does not talk about it. AFAIK, producer methods are also beans and their dependents are destroyed when bean is destroyed or CreationalContext # release is called.

But test destroys producer bean dependents when method completes. I think this is not correct.

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