aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2004-08-03 14:53:38 +0000
committeraclement <aclement>2004-08-03 14:53:38 +0000
commitef7885fd1269261aec9cb1265f0e15472fdb03bb (patch)
treee3aba098c974b6e924317e6b44f1cbd990c659a3 /weaver
parent2982b4cc622a2a95429b16f0aa3c55b7e20d798a (diff)
downloadaspectj-ef7885fd1269261aec9cb1265f0e15472fdb03bb.tar.gz
aspectj-ef7885fd1269261aec9cb1265f0e15472fdb03bb.zip
Some more fix for Bugzilla Bug 60015
NPE, Incorrect XLint:unmatchedSuperTypeInCall warning
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java b/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
index 6154f07d8..4dda76c47 100644
--- a/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/KindedPointcut.java
@@ -114,6 +114,11 @@ public class KindedPointcut extends Pointcut {
exactDeclaringType.resolve(world))) {
return;
}
+
+ // PR60015 - Don't report the warning if the declaring type is object and 'this' is an interface
+ if (exactDeclaringType.isInterface(world) && shadowDeclaringType.equals(world.resolve("java.lang.Object"))) {
+ return;
+ }
SignaturePattern nonConfusingPattern =
new SignaturePattern(