From: aclement Date: Tue, 14 Mar 2006 15:59:21 +0000 (+0000) Subject: bug 128650: comment 16: tidy up logic, forget the compiler. X-Git-Tag: V1_5_1_final~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=fee78df3b69267c51e71335196e01e13bb18e664;p=aspectj.git bug 128650: comment 16: tidy up logic, forget the compiler. --- 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 ecfbe5609..06826ede1 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 @@ -313,6 +313,9 @@ public class AjCompilerAdapter implements ICompilerAdapter { // ???: is this the right point for this? After weaving has finished clear the caches. CflowPointcut.clearCaches(); weaver.tidyUp(); + IMessageHandler imh = weaver.getWorld().getMessageHandler(); + if (imh instanceof WeaverMessageHandler) + ((WeaverMessageHandler)imh).resetCompiler(null); } }