Uploaded image for project: 'CDI TCK'
  1. CDI TCK
  2. CDITCK-142

Bug in DependentContextTest

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.2.CR1, 1.1.0.Alpha1
    • None
    • Tests
    • None

      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.

              rhn-engineering-jharting Jozef Hartinger
              gerdogdu@managecat.com Gurkan Erdogdu (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: