From fee78df3b69267c51e71335196e01e13bb18e664 Mon Sep 17 00:00:00 2001 From: aclement Date: Tue, 14 Mar 2006 15:59:21 +0000 Subject: [PATCH] bug 128650: comment 16: tidy up logic, forget the compiler. --- .../org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java | 3 +++ 1 file changed, 3 insertions(+) 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); } } -- 2.39.5