]> source.dussan.org Git - aspectj.git/commitdiff
bug 128650: comment 16: tidy up logic, forget the compiler.
authoraclement <aclement>
Tue, 14 Mar 2006 15:59:21 +0000 (15:59 +0000)
committeraclement <aclement>
Tue, 14 Mar 2006 15:59:21 +0000 (15:59 +0000)
org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/AjCompilerAdapter.java

index ecfbe5609e47b2daa2e1ee4a0ae900f3c81e4505..06826ede14b4aec47a6d19fd7b86954e2e1767bb 100644 (file)
@@ -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);
                }
        }