Project: AspectJ
Bug 133307 declare parents implementing generic interface referencing same type
Reported: 2006-03-26 21:05:35 | Status: resolved fixed

I have the following construct: public interface TestIF<T extends TestIF> {} public class TestClass {} public aspect TestAspect { declare parents: TestClass implements TestIF<TestClass>; } The later aspect does not compile, although public class TestClass implements TestIF<TestClass> { } is a valid class.

Files changed in fix:
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java tests/src/org/aspectj/systemtest/ajc151/Ajc151Tests.java weaver/src/org/aspectj/weaver/CrosscuttingMembersSet.java weaver/src/org/aspectj/weaver/patterns/IVerificationRequired.java weaver/src/org/aspectj/weaver/patterns/WildTypePattern.java