Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 322446

Summary: Model problem with declare parents in abstract aspect
Product: [Tools] AspectJ Reporter: Andrew Eisenberg <andrew.eisenberg>
Component: AJBrowserAssignee: aspectj inbox <aspectj-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P2 CC: aclement
Version: unspecified   
Target Milestone: 1.6.10   
Hardware: Macintosh   
OS: Mac OS X - Carbon (unsup.)   
Whiteboard:

Description Andrew Eisenberg CLA 2010-08-11 18:53:35 EDT
Take the following 3 compilation units:

public abstract aspect AbstractAspect {
    interface X { }
    declare parents : Class extends X;
}
public aspect Aspect extends AbstractAspect { }
public class Class { }

After a full build, there will be a declared on relationship from Aspect to Class.  This is wrong.  It should be from the declare parents to Class.
Comment 1 Andrew Clement CLA 2010-08-13 11:51:27 EDT
changes are in.  relationship is now at both levels with a map on the programelement for the concrete sub aspect that tracks the real affect of the decp (with type parameterizations resolved)