-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ClassLoader referenced unknown path #159
Comments
This warning comes from DexPathList.java. |
To fix this warning, the perfect solution is to make the method splitPaths return an empty list. |
We should also try remove the warning log
which is found in class_loader_context.cc. This requires to change the class https://github.com/JingMatrix/LSPosed/blob/master/core/src/main/java/org/lsposed/lspd/util/LspModuleClassLoader.java |
If we create a PathClassLoader object with parameter `librarySearchPath` set to "", then a warning of `ClassLoader referenced unknown` from tag `System` is triggered by the method `splitPaths` in `DexPathList.java`. See JingMatrix/LSPosed#159 for details.
1. Close #159 as fixed, though it points to the removal of warning `Unsupported class loader`, for which we can do later. 2. Take the commit from JingMatrix/LSPlant to fix the bug JingMatrix/LSPlant#2.
If we create a PathClassLoader object with parameter `librarySearchPath` set to "", then a warning of `ClassLoader referenced unknown` from tag `System` is triggered by the method `splitPaths` in `DexPathList.java`. See JingMatrix/LSPosed#159 for details.
Steps to reproduce/复现步骤
adb
Expected behaviour/预期行为
There should be no warning with tag
System
in the logsActual behaviour/实际行为
We found the following log line:
Xposed Module List/Xposed 模块列表
Magisk Module List/Magisk 模块列表
LSPosed version/LSPosed 版本
v1.10.1 (7165)
Android version/Android 版本
Android 16 DP (BP21.241121.009)
Magisk version/Magisk 版本
Magisk 28.1 (28100)
Riru version/Riru 版本
N/A
Version requirement/版本要求
Logs/日志
The text was updated successfully, but these errors were encountered: