From fe2c06ff90d63405ced973ec7a21b43e31167fa5 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 18 Mar 2006 12:03:02 +0000 Subject: [PATCH] flush source contexts (128650) --- weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java | 1 + 1 file changed, 1 insertion(+) diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java index 3a8006c30..2bcd7a7d3 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java @@ -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 -- 2.39.5