From be10b4070e23ecf5ab181612a47440e29de442e2 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 13 Jul 2019 02:24:17 +0200 Subject: [PATCH] =?utf8?q?=F0=9F=9A=A7=20Try=20different=20method=20of=20l?= =?utf8?q?oading=20classes=20for=20logging?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/main/java/net/pterodactylus/sone/main/SonePlugin.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java index f2cf128..7c32db7 100644 --- a/src/main/java/net/pterodactylus/sone/main/SonePlugin.java +++ b/src/main/java/net/pterodactylus/sone/main/SonePlugin.java @@ -55,7 +55,7 @@ public class SonePlugin implements FredPlugin, FredPluginFCP, FredPluginL10n, Fr .build(new CacheLoader>() { @Override public Class load(String key) throws Exception { - return Class.forName(key); + return SonePlugin.class.getClassLoader().loadClass(key); } }); -- 2.7.4