geforkt von Mirrors/Paper
Make class loader preference predictable; Fixes BUKKIT-1591
By: Wesley Wolfe <weswolf@aol.com>
Dieser Commit ist enthalten in:
Ursprung
1d034350f7
Commit
242582acc7
@ -10,6 +10,7 @@ import java.lang.reflect.Method;
|
||||
import java.net.URL;
|
||||
import java.util.HashMap;
|
||||
import java.util.HashSet;
|
||||
import java.util.LinkedHashMap;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
import java.util.Set;
|
||||
@ -49,7 +50,7 @@ public class JavaPluginLoader implements PluginLoader {
|
||||
private final Server server;
|
||||
protected final Pattern[] fileFilters = new Pattern[] { Pattern.compile("\\.jar$"), };
|
||||
protected final Map<String, Class<?>> classes = new HashMap<String, Class<?>>();
|
||||
protected final Map<String, PluginClassLoader> loaders = new HashMap<String, PluginClassLoader>();
|
||||
protected final Map<String, PluginClassLoader> loaders = new LinkedHashMap<String, PluginClassLoader>();
|
||||
|
||||
public JavaPluginLoader(Server instance) {
|
||||
server = instance;
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren