Project: AspectJ
Bug 159143 subtype pattern not working for declare annotation on method
Reported: 2006-09-28 12:47:33 | Status: resolved fixed

Using AspectJ 1.5.3.200609271036, when declaring an annotation on a method, get unexpected error when using subtype wildcard for the declaring type. E.g., declare @method : void Foo+.foo() : @MethodAnnotation; Error text: "The method 'void Foo+.foo()' does not exist"

Files changed in fix:
tests/bugs153/pr159143/DeclareMethodAnnotation.java tests/src/org/aspectj/systemtest/ajc153/Ajc153Tests.java