From d8a1983876d3f947b179f91b49028d201252b75e Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Mon, 6 Jul 2015 22:06:31 +0300 Subject: [PATCH] Fix java.util.HashSet.clone method --- .../src/main/java/org/teavm/classlib/java/util/THashSet.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/teavm-classlib/src/main/java/org/teavm/classlib/java/util/THashSet.java b/teavm-classlib/src/main/java/org/teavm/classlib/java/util/THashSet.java index 133505bcb..4c6b68f5b 100644 --- a/teavm-classlib/src/main/java/org/teavm/classlib/java/util/THashSet.java +++ b/teavm-classlib/src/main/java/org/teavm/classlib/java/util/THashSet.java @@ -114,7 +114,7 @@ public class THashSet extends TAbstractSet implements TCloneable, TSeriali public TObject clone0() { try { THashSet clone = (THashSet) super.clone(); - clone.backingMap = (THashMap>)backingMap.clone0(); + clone.backingMap = (THashMap>)backingMap.clone(); return clone; } catch (TCloneNotSupportedException e) { return null;