mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 08:14:09 -08:00
Fixes dependency checking when casting arrays
This commit is contained in:
parent
90a077fc34
commit
e2d872fa20
|
@ -228,6 +228,9 @@ class DependencyGraphBuilder {
|
|||
if (targetClass != null) {
|
||||
valueNode.connect(receiverNode, new DependencyTypeFilter() {
|
||||
@Override public boolean match(String type) {
|
||||
if (targetClass.getName().equals("java.lang.Object")) {
|
||||
return true;
|
||||
}
|
||||
return isAssignableFrom(dependencyChecker.getClassSource(), targetClass, type);
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue
Block a user