From 9145243b8c165b4e7186f8597632f25eca22647e Mon Sep 17 00:00:00 2001 From: Gravit Date: Sat, 23 Mar 2019 10:30:05 +0700 Subject: [PATCH] =?UTF-8?q?[FIX]=20=D0=A4=D0=B8=D0=BA=D1=81=20java.lang.Il?= =?UTF-8?q?legalArgumentException:=20jdk.internal.ref.PhantomCleanable<=3F?= =?UTF-8?q?>=20declares=20multiple=20JSON=20fields=20named=20next?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/ru/gravit/launchserver/LaunchServer.java | 2 +- .../ru/gravit/launchserver/components/AuthLimiterComponent.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java index 5f374709..f5ca38f7 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/LaunchServer.java @@ -119,7 +119,7 @@ public AuthProviderPair getAuthProviderPair() public HWIDHandler hwidHandler; - public HashMap components; + public Map components; // Misc options public int threadCount; diff --git a/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java b/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java index 907817e3..0d8f18c5 100644 --- a/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java +++ b/LaunchServer/src/main/java/ru/gravit/launchserver/components/AuthLimiterComponent.java @@ -14,7 +14,7 @@ import java.util.List; public class AuthLimiterComponent extends Component implements NeedGarbageCollection { - private LaunchServer server; + private transient LaunchServer server; @Override public void preInit(LaunchServer launchServer) {