From 1b057149b706a6a4f0f4f58310fc80e6c29aa501 Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 24 Apr 2006 08:45:01 +0000 Subject: [PATCH] fix for 138158 --- .../weaver/patterns/WithinCodeAnnotationPointcut.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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; } -- 2.39.5