diff options
author | aclement <aclement> | 2008-05-05 18:55:45 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-05-05 18:55:45 +0000 |
commit | 0758535a3ce9869e81bd6ff3d1750bbae8d98df2 (patch) | |
tree | 14f8d6c593ad361d47dcaf696164ded4f266555d | |
parent | 41cd95b3fcd154cbe279b2f8ea73b6e3ebf922f0 (diff) | |
download | aspectj-0758535a3ce9869e81bd6ff3d1750bbae8d98df2.tar.gz aspectj-0758535a3ce9869e81bd6ff3d1750bbae8d98df2.zip |
230134: tests and fixes - move cflow caches from static state to crosscuttingmembers for the aspect, fixing their lifecycle.
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java | 1 | ||||
-rw-r--r-- | org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java index c3a5fddbf..d58fbcf6f 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java @@ -321,7 +321,6 @@ public class AjCompilerAdapter extends AbstractCompilerAdapter { weaver.weave(new WeaverAdapter(this,weaverMessageHandler,progressListener)); } finally { // ???: is this the right point for this? After weaving has finished clear the caches. - CflowPointcut.clearCaches(); if (weaverMessageHandler instanceof WeaverMessageHandler) ((WeaverMessageHandler)weaverMessageHandler).setCurrentResult(null); weaver.allWeavingComplete(); diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java index f6f33835d..85fc2b4ff 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java @@ -504,7 +504,6 @@ public class AjPipeliningCompilerAdapter extends AbstractCompilerAdapter { try { weaver.weave(new WeaverAdapter(this,weaverMessageHandler,progressListener)); } finally { - CflowPointcut.clearCaches(); weaver.tidyUp(); IMessageHandler imh = weaver.getWorld().getMessageHandler(); if (imh instanceof WeaverMessageHandler) @@ -516,7 +515,6 @@ public class AjPipeliningCompilerAdapter extends AbstractCompilerAdapter { private void postWeave() { if (debugPipeline)System.err.println("> postWeave()"); IMessageHandler imh = weaver.getWorld().getMessageHandler(); - CflowPointcut.clearCaches(); if (imh instanceof WeaverMessageHandler) ((WeaverMessageHandler)imh).setCurrentResult(null); if (!droppingBackToFullBuild) weaver.allWeavingComplete(); |