Bug 104576

Summary: Allow Optimized If Tests With After Returning Value
Product: [Tools] AspectJ Reporter: Ron Bodkin <rbodkin+LISTS>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: REOPENED --- QA Contact:
Severity: enhancement    
Priority: P5    
Version: DEVELOPMENT   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Ron Bodkin CLA 2005-07-20 16:06:49 EDT
It would be nice if the AspectJ compiler could inline the if test here. 
Obviously you can't access this value in an if pcd, but some means to allow 
this would be nice.

after() returning (int retCode) : pcd() {
    if (retCode<100) {
        doWork();
    }
}
Comment 1 Adrian Colyer CLA 2005-08-17 15:29:02 EDT
This is a valid enhancement request but we have no immediate plans to implement given the other 
pressures on the project. Marking as "LATER" for consideration in future planning cycles.
Comment 2 Eclipse Webmaster CLA 2009-08-30 02:50:23 EDT
LATER/REMIND bugs are being automatically reopened as P5 because the LATER and REMIND resolutions are deprecated.