Skip to content

Commit

Permalink
Hotfix for obfuscation lookup fix which fixes lookups in superclasses
Browse files Browse the repository at this point in the history
Fixes bug introduced in 54681f0b766cf117de254441db69fa9695c25081 which
prevents lookups in indirect superclasses from resolving correctly
  • Loading branch information
Mumfrey committed Oct 4, 2020
1 parent 5c38527 commit bc7442d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ private <T> ObfuscationData<T> getObfEntryRecursive(ITargetSelectorRemappable ta
ObfuscationData<T> obfData;
TypeHandle superClass = targetType.getSuperclass();
for (TypeHandle iface : targetType.getInterfaces()) {

obfData = this.<T>getObfEntryUsing(targetMember, iface);
if (!obfData.isEmpty()) {
return obfData;
Expand All @@ -125,7 +126,6 @@ private <T> ObfuscationData<T> getObfEntryRecursive(ITargetSelectorRemappable ta
return obfData;
}

this.getObfEntryRecursive(targetMember.move(superClass.getName()), visited);
return this.getObfEntryRecursive(targetMember.move(superClass.getName()), visited);
}

Expand Down

0 comments on commit bc7442d

Please sign in to comment.