google / google/guice

Tool To Find Circular Dependencies

Open
#296 5 comments 0 reactions 0 assignees View on GitHub
Component-NewExtension imported Priority-Low
Dominant language
Java
Stars
12.7k
Forks
1.7k
Avg merge
11m
Merged PRs (30d)
2

Description

_From [sberlin](https://code.google.com/u/sberlin/) on December 29, 2008 15:27:26_

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: http://code.google.com/p/google-guice/issues/detail?id=296_

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.