]> source.dussan.org Git - aspectj.git/commitdiff
332388: test and fix
authoraclement <aclement>
Tue, 14 Dec 2010 20:33:34 +0000 (20:33 +0000)
committeraclement <aclement>
Tue, 14 Dec 2010 20:33:34 +0000 (20:33 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java

index 081bdd5f7b06407fa58c277f2b8830fb0dc938c2..9b4c90cbce781f7f349f3ddfc82c3361d05d6528 100644 (file)
@@ -14,7 +14,6 @@ package org.aspectj.weaver.bcel;
 import java.util.HashMap;
 import java.util.Map;
 
-import org.aspectj.bridge.Message;
 import org.aspectj.util.GenericSignature;
 import org.aspectj.util.GenericSignature.SimpleClassTypeSignature;
 import org.aspectj.weaver.BoundedReferenceType;
@@ -164,8 +163,7 @@ public class BcelGenericSignatureToTypeXConverter {
                                        inProgressTypeVariableResolutions);
                        ResolvedType resolvedBound = world.resolve(bound);
                        if (resolvedBound.isMissing()) {
-                               world.getMessageHandler().handleMessage(
-                                               new Message("Unable to find type (for bound): " + resolvedBound.getName(), null, true));
+                               world.getLint().cantFindType.signal("Unable to find type (for bound): " + resolvedBound.getName(), null);
                                resolvedBound = world.resolve(UnresolvedType.OBJECT);
                        }
                        ReferenceType rBound = (ReferenceType) resolvedBound;
@@ -175,8 +173,7 @@ public class BcelGenericSignatureToTypeXConverter {
                                        inProgressTypeVariableResolutions);
                        ResolvedType resolvedBound = world.resolve(bound);
                        if (resolvedBound.isMissing()) {
-                               world.getMessageHandler().handleMessage(
-                                               new Message("Unable to find type (for bound): " + resolvedBound.getName(), null, true));
+                               world.getLint().cantFindType.signal("Unable to find type (for bound): " + resolvedBound.getName(), null);
                                resolvedBound = world.resolve(UnresolvedType.OBJECT);
                        }
                        ReferenceType rBound = (ReferenceType) resolvedBound;