mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-23 00:24:11 -08:00
Fixes bug in dependency checker
This commit is contained in:
parent
684d1f2be8
commit
efd5582f8d
|
@ -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);
|
||||||
|
}
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user