From a8af466d3bc15e65a6f213cdd2ca88d2305a6074 Mon Sep 17 00:00:00 2001 From: aclement Date: Wed, 3 Mar 2010 19:05:23 +0000 Subject: [PATCH] 303924: fix --- .../src/org/aspectj/weaver/ReferenceType.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java b/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java index cc29ac2f5..2e56d71d6 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java @@ -424,7 +424,7 @@ public class ReferenceType extends ResolvedType { boolean thisRaw = this.isRawType(); boolean thisGeneric = this.isGenericType(); - + if ((thisRaw || thisGeneric) && other.isParameterizedType()) { if (isAssignableFrom(other.getRawType())) { return true; @@ -1048,6 +1048,9 @@ public class ReferenceType extends ResolvedType { newInterfaces = null; parameterizedInterfaces.clear(); superclassReference = new WeakReference(null); + if (delegate != null) { + delegate.ensureConsistent(); + } } @Override -- 2.39.5