Summary: | No error on overloaded pointcuts unless binding variables | ||
---|---|---|---|
Product: | [Tools] AspectJ | Reporter: | Wes Isberg <wes> |
Component: | Compiler | Assignee: | Andrew Clement <aclement> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | rbodkin+LISTS |
Version: | 1.1.1 | ||
Target Milestone: | 1.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Wes Isberg
2004-01-02 00:21:30 EST
The bug is that the compiler is not policing the case when two pointcuts with the same name are declared in a CLASS. In Rons program he should get errors against his RunnablePointcuts class at compile time. The fix is to add behaviour to AjLookupEnvironment.resolvePointcutDeclarations such that if the ClassScope being processed has pointcut definitions in it, we do the check. Patch sent to Adrian. |