Bug 132086 - Binding in abstract aspect fails for concrete aspects
Summary: Binding in abstract aspect fails for concrete aspects
Status: RESOLVED DUPLICATE of bug 125699
Alias: None
Product: AspectJ
Classification: Tools
Component: Compiler (show other bugs)
Version: 1.5.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: aspectj inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-15 23:46 EST by Ron Bodkin CLA
Modified: 2006-03-16 10:34 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ron Bodkin CLA 2006-03-15 23:46:40 EST
public abstract aspect TemplateOperationMonitor extends AbstractOperationMonitor {

...
// line 38 below
    Object around(final Object controller) : methodSignatureControllerExecTarget() && target(controller) && monitorEnabled() {
...
}

<aspectj>
    <aspects>
	    <concrete-aspect name="glassbox.inspector.monitor.operation.test.TestMonitor" 
	    		extends="glassbox.inspector.monitor.operation.TemplateOperationMonitor">	    
    	    <pointcut name="methodSignatureControllerExecTarget" 
    	    	expression="execution(public * glassbox.inspector.monitor.operation.TestMonitoredItemImpl.*(..))"/>
	    </concrete-aspect>
    </aspects>
</aspectj>
    
produces:
error at C:\devel\glassboxInspector\GlassboxInspector\src\glassbox\inspector\monitor\operation\TemplateOperationMonitor.aj:38::0 the parameter arg1 is not bound in [all branches of] pointcut
Comment 1 Matthew Webster CLA 2006-03-16 09:01:51 EST
While I can't reproduce this exact problem (because I don't have a testcase) it looks similar to something we have seen before. Please try a version of AspectJ that contains a fix to bug 125699.
Comment 2 Ron Bodkin CLA 2006-03-16 10:34:40 EST
I tested with the 20060313055733 build and that fixes it, so you must be right that it's the same bug. Thanks Matthew!

*** This bug has been marked as a duplicate of 125699 ***