Project: AspectJ
Bug 90143 [itds] Problem with an ITD on an interface
Reported: 2005-04-04 06:46:08 | Status: resolved fixed

If an ITD method is declared on an interface with an anonymous inner class returned as the result, the compiler generates an error for any "super.xxx" calls in the anonymous inner class. The example project shows this with a nested inner interface, but the same problem occurs with an ITD of this kind on any interface. The error does not occur if the ITD is declared on an inner class (as shown in the example) or a normal class.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/InterSuperFixerVisitor.java tests/src/org/aspectj/systemtest/ajc150/Ajc150Tests.java