From: aclement Date: Wed, 3 Mar 2010 19:05:23 +0000 (+0000) Subject: 303924: fix X-Git-Tag: V1_6_9M1~49 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=a8af466d3bc15e65a6f213cdd2ca88d2305a6074;p=aspectj.git 303924: fix --- 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