]> source.dussan.org Git - aspectj.git/commitdiff
don't hold onto references to AjBuildConfigs
authoracolyer <acolyer>
Fri, 10 Feb 2006 17:54:11 +0000 (17:54 +0000)
committeracolyer <acolyer>
Fri, 10 Feb 2006 17:54:11 +0000 (17:54 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java

index 8ea1774556dfa32c8e08b33de2831d7af7ce46b2..7ca8298a855aca91e582c5c5cff7677e7a80aed7 100644 (file)
@@ -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");
     }