]> source.dussan.org Git - aspectj.git/commitdiff
303924: fix
authoraclement <aclement>
Wed, 3 Mar 2010 19:05:23 +0000 (19:05 +0000)
committeraclement <aclement>
Wed, 3 Mar 2010 19:05:23 +0000 (19:05 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ReferenceType.java

index cc29ac2f565f364218bbf2cdaaadbd3a43058a7f..2e56d71d6ad22d2f592b3f2c819e8b8ded8dd658 100644 (file)
@@ -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<ResolvedType>(null);
+               if (delegate != null) {
+                       delegate.ensureConsistent();
+               }
        }
 
        @Override