summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java10
1 files changed, 7 insertions, 3 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java b/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
index 61ecd9696..c62c07dbe 100644
--- a/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
+++ b/weaver/src/org/aspectj/weaver/bcel/AtAjAttributes.java
@@ -1176,11 +1176,15 @@ public class AtAjAttributes {
// this/target/args binding
final IScope binding;
try {
- binding = new BindingScope(
+ if (struct.method.isAbstract()) {
+ binding = null;
+ } else {
+ binding = new BindingScope(
struct.enclosingType,
struct.context,
extractBindings(struct)
- );
+ );
+ }
} catch (UnreadableDebugInfoException e) {
return;
}
@@ -1226,7 +1230,7 @@ public class AtAjAttributes {
argumentTypes,
UnresolvedType.forSignature(struct.method.getReturnType().getSignature()),
pc,//can be null for abstract pointcut
- binding
+ binding // can be null for abstract pointcut
)
)
);