mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-14 04:46:50 +01:00
[dexlib2] return UnresolvedClassException, instead of null when debug mode is enabled
This commit is contained in:
parent
d07f52bd6a
commit
652757cd36
@ -139,7 +139,7 @@ public class ClassPath {
|
||||
@Nonnull
|
||||
public ClassDef getClassDef(String type) {
|
||||
if (dontLoadClassPath) {
|
||||
return null;
|
||||
throw new UnresolvedClassException("Could not resolve class %s", type);
|
||||
}
|
||||
|
||||
ClassDef ret = availableClasses.get(type);
|
||||
|
Loading…
x
Reference in New Issue
Block a user