mirror of https://github.com/apache/maven.git
Fix broken circular references detection
This commit is contained in:
parent
8a61f7d20a
commit
0c7e73335d
|
@ -144,10 +144,9 @@ public class InjectorImpl implements Injector {
|
|||
doBindImplicit(key, binding);
|
||||
Class<?> cls = key.getRawType().getSuperclass();
|
||||
while (cls != Object.class && cls != null) {
|
||||
key = Key.of(cls, key.getQualifier());
|
||||
doBindImplicit(key, binding);
|
||||
doBindImplicit(Key.of(cls, key.getQualifier()), binding);
|
||||
if (key.getQualifier() != null) {
|
||||
bind(Key.ofType(key.getType()), binding);
|
||||
bind(Key.ofType(cls), binding);
|
||||
}
|
||||
cls = cls.getSuperclass();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue