From: acolyer Date: Thu, 27 Feb 2003 19:38:19 +0000 (+0000) Subject: finishResolveTypes now tests for CONCRETE as well X-Git-Tag: V_1_1_b5~16 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=0f75fcd2271c2917106f4a15c14fea513d69ff0c;p=aspectj.git finishResolveTypes now tests for CONCRETE as well as RESOLVED pointcuts --- diff --git a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDesignator.java b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDesignator.java index 65c362167..f741bff7b 100644 --- a/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDesignator.java +++ b/org.aspectj.ajdt.core/src/org/aspectj/ajdt/internal/compiler/ast/PointcutDesignator.java @@ -61,7 +61,10 @@ public class PointcutDesignator extends AstNode { //System.err.println("resolving: " + this); //Thread.currentThread().dumpStack(); //XXX why do we need this test - if (pointcut.state == Pointcut.RESOLVED) return true; + // AMC added concrete too. Needed because declare declarations concretize their + // shadow mungers early. + if (pointcut.state == Pointcut.RESOLVED || + pointcut.state == Pointcut.CONCRETE) return true; TypeBinding[] parameters = method.parameters; Argument[] arguments = dec.arguments;