Bug 271730

Summary: Allow lazyTjp for after returning + after throwing at same jp
Product: [Tools] AspectJ Reporter: Ron Bodkin <rbodkin+LISTS>
Component: CompilerAssignee: aspectj inbox <aspectj-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: aclement
Version: 1.6.4   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ron Bodkin CLA 2009-04-09 02:25:52 EDT
I have two advices (after returning & after throwing) that want to create thisJoinPoint only in certain cases, unfortunately I get told they conflict, so lazy tjp isn't available:

can not implement lazyTjp at joinpoint

    after(Object object) returning: monitorInstance(object) {        
...
    }

    after(Object object) throwing (Throwable t): monitorInstance(object) {
...
    }


It would be nice if these independent forks wouldn't conflict for lazily instantiating tjp
Comment 1 Andrew Clement CLA 2013-06-24 11:06:58 EDT
unsetting the target field which is currently set for something already released