diff --git a/classlib/src/main/java/org/teavm/classlib/java/lang/TThread.java b/classlib/src/main/java/org/teavm/classlib/java/lang/TThread.java index 3a9545f56..b6bc09e6d 100644 --- a/classlib/src/main/java/org/teavm/classlib/java/lang/TThread.java +++ b/classlib/src/main/java/org/teavm/classlib/java/lang/TThread.java @@ -116,6 +116,10 @@ public class TThread extends TObject implements TRunnable { return name; } + public void setName(String name) { + this.name = name; + } + public final boolean isDaemon() { return daemon; }