From 830ee8f27d47400d17915bf546fc85540dbe5180 Mon Sep 17 00:00:00 2001 From: md_5 Date: Sat, 10 Apr 2021 07:30:17 +1000 Subject: [PATCH] #3061: Continue to fallback to underlying URLClassLoader --- .../main/java/net/md_5/bungee/api/plugin/PluginClassloader.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java b/api/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java index 8fe5eb17..aa388823 100644 --- a/api/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java +++ b/api/src/main/java/net/md_5/bungee/api/plugin/PluginClassloader.java @@ -146,7 +146,7 @@ final class PluginClassloader extends URLClassLoader return defineClass( name, classBytes, 0, classBytes.length, source ); } - throw new ClassNotFoundException( name ); + return super.findClass( name ); } @Override