]> source.dussan.org Git - aspectj.git/commitdiff
flush source contexts (128650)
authoraclement <aclement>
Sat, 18 Mar 2006 12:03:02 +0000 (12:03 +0000)
committeraclement <aclement>
Sat, 18 Mar 2006 12:03:02 +0000 (12:03 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java

index 3a8006c30423dc1b4ba2f3b7a5eb44659f1a7a82..2bcd7a7d3628599cfc78d9013ac0d769705d1ab3 100644 (file)
@@ -771,6 +771,7 @@ public class BcelObjectType extends AbstractReferenceTypeDelegate {
        public void weavingCompleted() {
                hasBeenWoven = true;
                if (getResolvedTypeX().getWorld().isRunMinimalMemory()) evictWeavingState();
+               if (getSourceContext()!=null && !getResolvedTypeX().isAspect()) getSourceContext().tidy();
        }
        
        // --- methods for testing