Is your feature request related to a problem?
Starting with Java 16 this will be an issue with some plugins. Notability a big plugin like LuckPerms uses this.
Describe the solution you'd like.
I was wondering if we go could get easy access to adding a URL to the plugin class loader. Currently, addURL for the PluginClassLoader protected as it is the default set by URLClassLoader.
Adding this to PluginClassLoader would fix said issues.
@Override
public void addURL(URL url) {
super.addURL(url);
}
Describe alternatives you've considered.
An alternative we could use would be a Dependency API. I personally wrote my own but it is still quite hacky with the loading. Example of such which does not work with Java 16 at all: DependenciesGen
Agreements
Other
I personally went to Spigot about said request but seems this has been a request feature for around 2 years with no resolve at all.
Is your feature request related to a problem?
Starting with Java 16 this will be an issue with some plugins. Notability a big plugin like LuckPerms uses this.
Describe the solution you'd like.
I was wondering if we go could get easy access to adding a URL to the plugin class loader. Currently, addURL for the PluginClassLoader protected as it is the default set by URLClassLoader.
Adding this to PluginClassLoader would fix said issues.
Describe alternatives you've considered.
An alternative we could use would be a Dependency API. I personally wrote my own but it is still quite hacky with the loading. Example of such which does not work with Java 16 at all: DependenciesGen
Agreements
Other
I personally went to Spigot about said request but seems this has been a request feature for around 2 years with no resolve at all.