mirror of
https://github.com/revanced/Apktool.git
synced 2025-02-15 21:16: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
|
@Nonnull
|
||||||
public ClassDef getClassDef(String type) {
|
public ClassDef getClassDef(String type) {
|
||||||
if (dontLoadClassPath) {
|
if (dontLoadClassPath) {
|
||||||
return null;
|
throw new UnresolvedClassException("Could not resolve class %s", type);
|
||||||
}
|
}
|
||||||
|
|
||||||
ClassDef ret = availableClasses.get(type);
|
ClassDef ret = availableClasses.get(type);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user