summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2010-12-14 20:33:34 +0000
committeraclement <aclement>2010-12-14 20:33:34 +0000
commit1c970bb02cfb2f4706e0ad636147d583413690fa (patch)
tree7f96d4008b83e2c866280436241f9cea4b99f82b /weaver
parent08d4b6c276e973edba180366ea41854d3ab640a5 (diff)
downloadaspectj-1c970bb02cfb2f4706e0ad636147d583413690fa.tar.gz
aspectj-1c970bb02cfb2f4706e0ad636147d583413690fa.zip
332388: test and fix
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java b/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
index 081bdd5f7..9b4c90cbc 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
@@ -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;