diff options
author | jhugunin <jhugunin> | 2003-01-21 18:32:30 +0000 |
---|---|---|
committer | jhugunin <jhugunin> | 2003-01-21 18:32:30 +0000 |
commit | 4dfb3f2ad89c38a46521698484667f4b6fe3085a (patch) | |
tree | abbdf2b0a83bf69d105b058d6f15b60f429d8a8e /weaver | |
parent | 7ce70891d27682f2c4db2389d77876cbbdb424b8 (diff) | |
download | aspectj-4dfb3f2ad89c38a46521698484667f4b6fe3085a.tar.gz aspectj-4dfb3f2ad89c38a46521698484667f4b6fe3085a.zip |
fix Bug 29691
Static inner aspects cannot reference user defined pointcuts
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java b/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java index c364cd3b0..e94634cc9 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java @@ -123,7 +123,7 @@ public class ReferencePointcut extends Pointcut { ResolvedPointcutDefinition pointcutDef = searchType.findPointcut(name); // if we're not a static reference, then do a lookup of outers - if (onType == null) { + if (pointcutDef == null && onType == null) { while (true) { TypeX declaringType = searchType.getDeclaringType(); if (declaringType == null) break; |