diff --git a/teavm-classlib/pom.xml b/teavm-classlib/pom.xml index da8355cad..1bf13a0ec 100644 --- a/teavm-classlib/pom.xml +++ b/teavm-classlib/pom.xml @@ -54,9 +54,6 @@ false 1 - - **.ArraysTest - diff --git a/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java b/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java index d6be0a30a..1b211e94c 100644 --- a/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java +++ b/teavm-core/src/main/java/org/teavm/dependency/DependencyNodeToNodeTransition.java @@ -38,11 +38,11 @@ class DependencyNodeToNodeTransition implements DependencyConsumer { } if (type.startsWith("[")) { type = "java.lang.Object"; + source.getArrayItem().connect(destination.getArrayItem()); + destination.getArrayItem().connect(source.getArrayItem()); } if (!destination.hasType(type)) { destination.propagate(type); } - source.getArrayItem().connect(destination.getArrayItem()); - destination.getArrayItem().connect(source.getArrayItem()); } }