If you only let it determine it from the INVOKE instruction this can make a mistake when using INVOKESTATIC with an interface target.tags/V1_9_0_RC3
@@ -212,7 +212,7 @@ public class Utility { | |||
kind = Constants.INVOKEVIRTUAL; | |||
} | |||
return fact.createInvoke(m.getClassName(), m.getName(), m.getReturnType(), m.getArgumentTypes(), kind); | |||
return fact.createInvoke(m.getClassName(), m.getName(), m.getReturnType(), m.getArgumentTypes(), kind, m.getEnclosingClass().isInterface()); | |||
} | |||
/** |