Fixes bug in dependency checker

This commit is contained in:
konsoletyper 2014-04-12 12:24:15 +04:00
parent 684d1f2be8
commit efd5582f8d

View File

@ -223,7 +223,12 @@ class DependencyGraphBuilder {
cst = ((ValueType.Array)cst).getItemType(); cst = ((ValueType.Array)cst).getItemType();
} }
if (cst instanceof ValueType.Object) { if (cst instanceof ValueType.Object) {
dependencyChecker.achieveClass(((ValueType.Object)cst).getClassName(), callerStack); final String className = ((ValueType.Object)cst).getClassName();
useRunners.add(new Runnable() {
@Override public void run() {
dependencyChecker.initClass(className, callerStack);
}
});
} }
} }