mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-14 19:15:08 -05:00
Added netty to plugin classloader exclusion list
This commit is contained in:
parent
a2e16b6d4e
commit
703f3f5f29
1 changed files with 1 additions and 0 deletions
|
@ -96,6 +96,7 @@ public class PluginManager {
|
|||
final URL url = file.toURI().toURL();
|
||||
final TransformerManager transformerManager = new TransformerManager(new LazyFileClassProvider(Collections.singletonList(file), this.rootClassProvider));
|
||||
final InjectionClassLoader classLoader = new InjectionClassLoader(transformerManager, PluginManager.class.getClassLoader(), url);
|
||||
classLoader.addProtectedPackage("io.netty.");
|
||||
|
||||
try {
|
||||
final String[] versions = System.getProperty("java.class.version").split("\\.");
|
||||
|
|
Loading…
Reference in a new issue