summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2005-12-13 11:32:58 +0000
committeraclement <aclement>2005-12-13 11:32:58 +0000
commitc0fc8fc41653160c06bdc7e8995a5b3a0049ee3a (patch)
treef45b0d371f9cb022d3d8188657f2289e8f252727 /weaver
parentae500c6ac89fef8b7bb6cf4bd2a9cf1ec16cdd6a (diff)
downloadaspectj-c0fc8fc41653160c06bdc7e8995a5b3a0049ee3a.tar.gz
aspectj-c0fc8fc41653160c06bdc7e8995a5b3a0049ee3a.zip
fix for120521
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/ResolvedType.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedType.java b/weaver/src/org/aspectj/weaver/ResolvedType.java
index 524e2a25f..d16b041c2 100644
--- a/weaver/src/org/aspectj/weaver/ResolvedType.java
+++ b/weaver/src/org/aspectj/weaver/ResolvedType.java
@@ -480,6 +480,12 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
return f;
}
}
+ // pr120521
+ if (!getOutermostType().equals(this)) {
+ ResolvedType outerType = getOutermostType().resolve(world);
+ ResolvedPointcutDefinition rpd = outerType.findPointcut(name);
+ return rpd;
+ }
return null; // should we throw an exception here?
}