]> source.dussan.org Git - aspectj.git/commitdiff
205907 - world remembers registered handlers
authoraclement <aclement>
Fri, 14 Mar 2008 18:54:04 +0000 (18:54 +0000)
committeraclement <aclement>
Fri, 14 Mar 2008 18:54:04 +0000 (18:54 +0000)
weaver/src/org/aspectj/weaver/tools/PointcutParser.java

index 60aafe619656ca0b3b531c84496c9e525bbbb8b4..3d22f7aae4ab77647dcead6c590d138d246c244b 100644 (file)
@@ -260,6 +260,7 @@ public class PointcutParser {
      */
     public void registerPointcutDesignatorHandler(PointcutDesignatorHandler designatorHandler) {
        this.pointcutDesignators.add(designatorHandler);
+       if (world != null) world.registerPointcutHandler(designatorHandler);
     }
     
     /**