Bug 55134

Summary: Incremental compilation does not delete weaver-generated class files
Product: [Tools] AspectJ Reporter: Adrian Colyer <adrian.colyer>
Component: CompilerAssignee: Adrian Colyer <adrian.colyer>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 1.2   
Target Milestone: 1.2   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Adrian Colyer CLA 2004-03-17 14:09:38 EST
During incremental compilation, AjState records classes generated from source 
files following the initial compile phase, but before weaving. (So that these 
can be passed to the weaver on a subsequent iteration if we need to reweave the 
world). During weaving of a given class file, the weaver may generate additional 
class files (for e.g. around closures) that get written to the output. If the 
orginal source file is deleted, these additional weaver generated classes are 
not deleted from the output since AjState does not know about them.
Comment 1 Adrian Colyer CLA 2004-03-18 09:40:35 EST
Fixed in tree. UnwovenClassFile.deleteRealFile now deletes the class file plus 
any $Ajc*.class extensions of it.