[jboss-dev-forums] [JBoss Microcontainer Development] - Circular and self dependencies

thomas.diesler@jboss.com do-not-reply at jboss.com
Tue Aug 25 07:27:02 EDT 2009


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




View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4251433#4251433

Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4251433



More information about the jboss-dev-forums mailing list