]> source.dussan.org Git - aspectj.git/commitdiff
1.6.12.m1 readme
authoraclement <aclement>
Tue, 7 Jun 2011 19:20:50 +0000 (19:20 +0000)
committeraclement <aclement>
Tue, 7 Jun 2011 19:20:50 +0000 (19:20 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/ResolvedType.java

index fd6ea9172e57817744254c0f1769a97f2dd5d3c8..c13f8afe3de788a9e2e9d5ed8f35ee8bb453127a 100644 (file)
@@ -2264,7 +2264,13 @@ public abstract class ResolvedType extends UnresolvedType implements AnnotatedEl
 
        public void clearInterTypeMungers() {
                if (isRawType()) {
-                       getGenericType().clearInterTypeMungers();
+                       ResolvedType genericType = getGenericType();
+                       if (genericType.isRawType()) { // ERROR SITUATION: PR341926
+                               // For some reason the raw type is pointing to another raw form (possibly itself)
+                               System.err.println("DebugFor341926: Type " + this.getName() + " has an incorrect generic form");
+                       } else {
+                               genericType.clearInterTypeMungers();
+                       }
                }
                // interTypeMungers.clear();
                // BUG? Why can't this be clear() instead: 293620 c6