DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22932>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22932

[excalibur-component] StackOverflow while service A of ServiceSelector references 
service B of same ServiceSelector

[EMAIL PROTECTED] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX



------- Additional Comments From [EMAIL PROTECTED]  2003-10-01 13:29 -------
You have stumbled onto the ugliness of circular dependencies.  The only reason
why things work when the circular dependencies are not singletons (AKA
ThreadSafe) is because you get an different instance.

In the future versions of Avalon containers, we explicitly check for circular
dependencies and fail early.  They are not only bad programming practice, they
are the source of a number of bugs.  In short, if two components are so
dependent on each other that you believe that they *have* to depend on each
other, then they are begging to be merged into one larger component.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to