[jboss-dev-forums] [JBoss Microcontainer Development] - Bug in Microtainer - recursive resoltion
adrian@jboss.org
do-not-reply at jboss.com
Wed Nov 18 12:32:44 EST 2009
I found a bug yesterday while doing the 'lazy resolve" feature
for the classloading.
The issue is that we avoid recursive processing of a ControllerContext
by adding them to the "installing" Set inside AbstractController.
But this only traps invocations of install/uninstall.
If a recursion occurs during the checking that dependencies are resolved, it goes
into recursive death with a StackOverFlowException.
I'm going to change the mechanism such that while dependencies are being
resolved the context is also added to "installing". In fact, if the dependencies
are resolved, it should stay there, rather than rebuilding this from the
"resolvedContexts".
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4266367#4266367
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4266367
More information about the jboss-dev-forums
mailing list