Avoid depending on ClassUtils.getClass
Might cause class conflicts when target APP also uses ClassUtils. Fix for LSPatch.
This commit is contained in:
parent
df74d83eb0
commit
f3beb8688f
|
|
@ -202,7 +202,7 @@ public final class XposedHelpers {
|
||||||
if (classLoader == null)
|
if (classLoader == null)
|
||||||
classLoader = XposedBridge.BOOTCLASSLOADER;
|
classLoader = XposedBridge.BOOTCLASSLOADER;
|
||||||
try {
|
try {
|
||||||
return ClassUtils.getClass(classLoader, className, false);
|
return classLoader.loadClass(className);
|
||||||
} catch (ClassNotFoundException e) {
|
} catch (ClassNotFoundException e) {
|
||||||
throw new ClassNotFoundError(e);
|
throw new ClassNotFoundError(e);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue