google-code-export / google-guice

Automatically exported from code.google.com/p/google-guice
Apache License 2.0
2 stars 1 forks source link

Tool To Find Circular Dependencies #296

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
It'd be nice if there was a tool that trolled the bindings to find circular
dependencies.  Due to the way Guice lazily creates proxies to handle
circular dependencies, it's possible for some runs to cause injection-time
exceptions and other runs to pass.  (This is because some classes might
load before other in some runs and not others.)  If there was a tool that
pointed out the circular dependencies and how bad they are -- ie, interface
<-> interface, interface <-> class, class <-> class, (+ providers), it'd be
easier to make sure you're catching all the circular dependencies.

Original issue reported on code.google.com by sberlin on 29 Dec 2008 at 8:27

GoogleCodeExporter commented 9 years ago
Maybe related to issue #213? (and possibly #294)

Original comment by robbie.v...@gmail.com on 29 Dec 2008 at 8:55

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 31 Dec 2008 at 1:17

GoogleCodeExporter commented 9 years ago

Original comment by limpbizkit on 26 Apr 2009 at 9:45

GoogleCodeExporter commented 9 years ago
Related to issue #220.

Original comment by en...@stolsvik.com on 22 Feb 2011 at 4:00

GoogleCodeExporter commented 9 years ago
This can also be handled using the SPI.  It's a good idea, but unless someone 
contributes it, it's unlikely to get added by us.   Leaving it as Acknowledged, 
but low priority. 

Original comment by cgruber@google.com on 18 Nov 2013 at 9:15