Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into checkstyle
Browse files Browse the repository at this point in the history
  • Loading branch information
modmuss50 committed Jul 1, 2024
2 parents e9b4790 + 2edfbc4 commit 54add96
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -871,6 +871,10 @@ private void processImaginarySuper(MethodNode method, FieldInsnNode fieldInsn) {
* @param methodRef Unbound reference to the method
*/
private void updateStaticBinding(MethodNode method, MemberRef methodRef) {
if (!methodRef.getOwner().equals(this.classNode.superName)) {
// Must be to an interface, no need to re-parent.
return;
}
this.updateBinding(method, methodRef, Traversal.SUPER);
}

Expand Down

0 comments on commit 54add96

Please sign in to comment.