aboutsummaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authorjhugunin <jhugunin>2003-08-04 21:04:49 +0000
committerjhugunin <jhugunin>2003-08-04 21:04:49 +0000
commit29457c3d6d0b4cd7cca1d2867e6bd80a56a24722 (patch)
tree39c61e209f18d80a32c50220199ffcd75e4f237b /weaver
parent57445dd3ec8a67d06f16fe02e7c0eaefb8ea4051 (diff)
downloadaspectj-29457c3d6d0b4cd7cca1d2867e6bd80a56a24722.tar.gz
aspectj-29457c3d6d0b4cd7cca1d2867e6bd80a56a24722.zip
fixes for Bugzilla Bug 40858
super-qualified pointcut reference cause weaver stack trace and Bugzilla Bug 40814 no error when defining interface pointcuts
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java b/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
index 2d3291792..8c9d546f3 100644
--- a/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/ReferencePointcut.java
@@ -113,6 +113,8 @@ public class ReferencePointcut extends Pointcut {
public void resolveBindings(IScope scope, Bindings bindings) {
if (onTypeSymbolic != null) {
onType = onTypeSymbolic.resolveExactType(scope, bindings);
+ // in this case we've already signalled an error
+ if (onType == ResolvedTypeX.MISSING) return;
}
ResolvedTypeX searchType;