Avoid depending on ClassUtils.getClass

Might cause class conflicts when target APP also uses ClassUtils.
Fix for LSPatch.
This commit is contained in:
JingMatrix 2023-07-20 20:31:50 +02:00
parent df74d83eb0
commit f3beb8688f
1 changed files with 1 additions and 1 deletions

View File

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