mirror of
https://github.com/corda/corda.git
synced 2025-01-08 14:03:06 +00:00
inherit thread group from current thread
This commit is contained in:
parent
97ea23e3bb
commit
5c72746d2c
@ -38,7 +38,7 @@ public class Thread implements Runnable {
|
||||
|
||||
public Thread(ThreadGroup group, Runnable task, String name, long stackSize)
|
||||
{
|
||||
this.group = group;
|
||||
this.group = (group == null ? Thread.currentThread().group : group);
|
||||
this.task = task;
|
||||
this.name = name;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user