6 Replies Latest reply on Aug 25, 2009 10:51 AM by Thomas Diesler

    Circular and self dependencies

    Thomas Diesler Master

      Folks,

      I am looking at

      https://jira.jboss.org/jira/browse/JBCL-24

      which may be possible to fix in the classloading module alone. However I needed to make a trivial fix to the the Abstract controller in dependency

      for (ControllerContext dependent : dependents)
      {
       boolean selfDependency = (dependent == context);
       if (selfDependency == false && isBeforeState(dependent.getState(), whenRequired) == false)
       uninstallContext(dependent, whenRequired, trace);
      }
      


      This should not change the existing behaviour. All tests still pass