diff options
author | aclement <aclement> | 2008-08-21 18:13:05 +0000 |
---|---|---|
committer | aclement <aclement> | 2008-08-21 18:13:05 +0000 |
commit | 718dcf817024f690582f7328fa4ec48b515f3b25 (patch) | |
tree | 40e9658ca42c7149ce94bcd30f2607b2b08fcf7d | |
parent | f8fac37d1e4ec74eb13389c0968f4868d0116ad0 (diff) | |
download | aspectj-718dcf817024f690582f7328fa4ec48b515f3b25.tar.gz aspectj-718dcf817024f690582f7328fa4ec48b515f3b25.zip |
194429: test and fix: include context in error
-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 7b49ae36d..e77a9f61d 100644 --- a/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java +++ b/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java @@ -238,7 +238,7 @@ public class ReferencePointcut extends Pointcut { !p.getExactType().equals(UnresolvedType.OBJECT); } if (reportProblem) { - scope.message(IMessage.ERROR, p, "incompatible type, expected " + + scope.message(IMessage.ERROR, this, "incompatible type, expected " + parameterTypes[i].getName() + " found " + p +". Check the type specified in your pointcut"); return; } |