diff options
author | aclement <aclement> | 2006-04-24 08:45:01 +0000 |
---|---|---|
committer | aclement <aclement> | 2006-04-24 08:45:01 +0000 |
commit | 1b057149b706a6a4f0f4f58310fc80e6c29aa501 (patch) | |
tree | 44ad27297e5ee2084e2a3380a5b1d247557825ab /weaver | |
parent | af6f3cbbcea106bebf426c7035c46620efcecfb0 (diff) | |
download | aspectj-1b057149b706a6a4f0f4f58310fc80e6c29aa501.tar.gz aspectj-1b057149b706a6a4f0f4f58310fc80e6c29aa501.zip |
fix for 138158
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java b/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java index cb0295c06..7d6ab0ebb 100644 --- a/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java @@ -154,7 +154,10 @@ public class WithinCodeAnnotationPointcut extends NameBindingPointcut { state.set(btp.getFormalIndex(),var); } - return Literal.TRUE; + if (matchInternal(shadow).alwaysTrue()) + return Literal.TRUE; + else + return Literal.FALSE; } |