mirror of
https://github.com/corda/corda.git
synced 2025-01-09 14:33:30 +00:00
fix recursive invocation of Thread constructor
This commit is contained in:
parent
d28a860138
commit
4ecce8286f
@ -23,7 +23,7 @@ public class Thread implements Runnable {
|
|||||||
private String name;
|
private String name;
|
||||||
|
|
||||||
public Thread(Runnable task, String name) {
|
public Thread(Runnable task, String name) {
|
||||||
this(task);
|
this.task = task;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
|
||||||
Thread current = currentThread();
|
Thread current = currentThread();
|
||||||
|
Loading…
Reference in New Issue
Block a user