Bug 322446 - Model problem with declare parents in abstract aspect
Summary: Model problem with declare parents in abstract aspect
Status: RESOLVED FIXED
Alias: None
Product: AspectJ
Classification: Tools
Component: AJBrowser (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X - Carbon (unsup.)
: P2 major (vote)
Target Milestone: 1.6.10   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 18:53 EDT by Andrew Eisenberg CLA
Modified: 2010-08-13 11:51 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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)