From: acolyer Date: Fri, 10 Feb 2006 17:54:11 +0000 (+0000) Subject: don't hold onto references to AjBuildConfigs X-Git-Tag: POST_MEMORY_CHANGES~100 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=e51f62e491088a913ec62bbbdbd3eaf967c7de93;p=aspectj.git don't hold onto references to AjBuildConfigs --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java index 8ea177455..7ca8298a8 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java @@ -80,6 +80,7 @@ public class AsmHierarchyBuilder extends ASTVisitor { stack = new Stack(); this.buildConfig = buildConfig; internalBuild(cuDeclaration, structureModel); + this.buildConfig = null; // clear reference since this structure is anchored in static // throw new RuntimeException("not implemented"); }