Summary: | Declare @method fails on subclasses with "method does not exist" error | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Simone Gianni <simoneg> | ||||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | major | ||||||||
Priority: | P3 | CC: | aclement | ||||||
Version: | DEVELOPMENT | ||||||||
Target Milestone: | 1.6.6 | ||||||||
Hardware: | PC | ||||||||
OS: | Linux | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Simone Gianni
2009-08-30 08:14:43 EDT
Created attachment 146006 [details]
Failing project for declare annotations
> Reproducible: Always
I just unzipped it and compiled it and got no error...
Hi Andy, I'm getting this error consistently on another project. The small project I zipped WAS giving me that error consistently ... but unzipping it NOW is not giving me the error anymore. I'll try to scope it better and make it reproducible. While in Eclipse I was able to see the error, and in that case it could depend on incremental compile. While running it in my main program, it was using LTW. I'll try to reproduce it and let you know. Got it, and made an even simpler failing project. This is what (i think) happens : - It finds a specific class pattern (even if there is "+") - It finds that the method pattern is not "any" (it is "do*", so not exact and not any) - It checks if in the given class such a method exists - It does not exist (but it exists in subclasses) - It raises the error (while in reality that is exactly what i asked for, do* methods in subclasses) Created attachment 146563 [details]
Failing (this time really) project
fixed |