Continuation of changes to make use of log4j.
This commit is contained in:
@@ -130,7 +130,8 @@ public final class Authenticate implements RpcMethod
|
||||
URL[] urls = new URL[]{methClassPathUrl};
|
||||
|
||||
// Create a class loader for the folder
|
||||
ClassLoader customClassLoader = new URLClassLoader(urls);
|
||||
ClassLoader customClassLoader = new URLClassLoader(urls,
|
||||
this.getClass().getClassLoader());
|
||||
|
||||
// Load the mech class using our custom loader
|
||||
Class<?> mechClass = customClassLoader.loadClass(mechClassName);
|
||||
|
||||
Reference in New Issue
Block a user