Skip to content

Commit

Permalink
Merge pull request #2127 from MarcMil/develop
Browse files Browse the repository at this point in the history
Fix ASM generating invalid references for static methods in interface
  • Loading branch information
StevenArzt authored Nov 21, 2024
2 parents a81d271 + b2c817c commit 8eaa58e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/soot/baf/BafASMBackend.java
Original file line number Diff line number Diff line change
Expand Up @@ -1388,7 +1388,7 @@ public void caseClassConstant(ClassConstant v) {
public void caseStaticInvokeInst(StaticInvokeInst i) {
SootMethodRef m = i.getMethodRef();
mv.visitMethodInsn(Opcodes.INVOKESTATIC, slashify(m.declaringClass().getName()), m.name(), toTypeDesc(m),
m.declaringClass().isInterface() && !m.isStatic());
m.declaringClass().isInterface());
}

@Override
Expand Down

0 comments on commit 8eaa58e

Please sign in to comment.