ref[thread]: deprecated method in java 17

This commit is contained in:
godotg committed 2023-09-02 19:23:07 +08:00
1 parent e158e92497
commit b0d242658c
5 files changed
+5 -13

No files matched your search

@@ -71,7 +71,7 @@ public abstract class EventBus {
private final ThreadGroup group;
public EventThreadFactory(int poolNumber) {
this.group = ThreadUtils.currentThreadGroup();
this.group = Thread.currentThread().getThreadGroup();
this.poolNumber = poolNumber;
}