mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-03-20 00:00:03 -04:00
Added test case. No changes.
This commit is contained in:
@@ -677,8 +677,8 @@ public final class SystemUtil {
|
||||
}
|
||||
|
||||
private static Class getClass(String pClassName, boolean pInitialize, ClassLoader pLoader) throws ClassNotFoundException {
|
||||
// NOTE: We need the context classloader, as SystemUtil's
|
||||
// classloader may have a totally different classloader than
|
||||
// NOTE: We need the context class loader, as SystemUtil's
|
||||
// class loader may have a totally different class loader than
|
||||
// the original caller class (as in Class.forName(cn, false, null)).
|
||||
ClassLoader loader = pLoader != null ? pLoader :
|
||||
Thread.currentThread().getContextClassLoader();
|
||||
|
||||
Reference in New Issue
Block a user