Summary: | unhelpful/unnecessary error for a generic aspect | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Andrew Clement <aclement> |
Component: | Compiler | Assignee: | aspectj inbox <aspectj-inbox> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | DEVELOPMENT | ||
Target Milestone: | 1.6.4 | ||
Hardware: | PC | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Andrew Clement
2009-03-16 00:51:09 EDT
fixed this. And noticed whilst creating a real runnable test case that the syntax of the pointcut is actually wrong for catching constructor calls, it should be: execution(SomeInterface+.new(..)) and not execution(* SomeInterface(..)) The problem that needed fixing is that member types of a generic type are considered parameterized (inheriting the parameterization of their containing type) but this shouldn't be for interfaces. |