Added test case. No changes.

This commit is contained in:
Harald Kuhr
2012-06-21 16:56:25 +02:00
parent 14869fb591
commit b0c2b4886f
2 changed files with 44 additions and 2 deletions

View File

@@ -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();