Community
Participate
Working Groups
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"
Created attachment 51100 [details] test case, includes test specification
Hmmmm - that test program works fine for me. So I tried creating a minimal test program: @interface MethodAnnotation {} aspect X { declare @method : void Foo+.foo() : @MethodAnnotation; } interface Foo {} class Blah implements Foo { public void foo() {} } If I comment out 'foo()' then I get the same error Wes describes. If I have that method in, then it works (and I can see the annotation in the class using javap). Are you doing anything else that I'm not Wes? I am on the command line, not in AJDT - and I'm using HEAD rather than 20060927.
I get the same results as Andy in head with both test and comment program. Fixed or ?
assumed fixed - no progress for a year.
see previous comment, silly bugzilla