Explorar el Código

Pass explicitly whether it is an interface target

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
Andy Clement hace 6 años
padre
commit
40fa8c710f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      weaver/src/org/aspectj/weaver/bcel/Utility.java

+ 1
- 1
weaver/src/org/aspectj/weaver/bcel/Utility.java Ver fichero

@@ -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());
}

/**

Cargando…
Cancelar
Guardar