Summary: | Advice in perthis() aspect not executed for interface execution join point | ||||||
---|---|---|---|---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Matthew Webster <matthew_webster> | ||||
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> | ||||
Status: | NEW --- | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | holger, vb | ||||
Version: | DEVELOPMENT | ||||||
Target Milestone: | --- | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Matthew Webster
2006-03-02 09:17:11 EST
Created attachment 35623 [details]
Testcase
The problem seems to lie in PerObjectInterfaceTypeMunger.matches(). This uses the pointcut in the perclause. It eventually invokes ExactTypePattern.matchesStatically() which makes a distinction between pointcuts that do or do not include sub-types. This is the problem in our testcase. However the same pointcut matches when used with advice (you don't need to use "+") so something different must be happening in that case. |