summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-12-14 20:33:33 +0000
committeraclement <aclement>2010-12-14 20:33:33 +0000
commit08d4b6c276e973edba180366ea41854d3ab640a5 (patch)
treecd87805db173491ae6fb21ff8cac9715cd52c0bf /org.aspectj.matcher
parentba4db3c42ad0ed268e3f7dd70a09c3ed30179b5b (diff)
downloadaspectj-08d4b6c276e973edba180366ea41854d3ab640a5.tar.gz
aspectj-08d4b6c276e973edba180366ea41854d3ab640a5.zip
332388: test and fix
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java b/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
index e33468cf1..24e028e7f 100644
--- a/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
+++ b/org.aspectj.matcher/src/org/aspectj/weaver/TypeVariableReferenceType.java
@@ -9,7 +9,6 @@
package org.aspectj.weaver;
import java.util.Map;
-import org.aspectj.bridge.Message;
/**
* ReferenceType representing a type variable. The delegate for this reference type is the upperbound on the type variable (so
@@ -47,9 +46,9 @@ public class TypeVariableReferenceType extends ReferenceType implements TypeVari
if (resolvedFirstBound.isMissing()) {
brtd = new BoundedReferenceTypeDelegate((ReferenceType) world.resolve(UnresolvedType.OBJECT));
setDelegate(brtd); // set now because getSourceLocation() below will cause a recursive step to discover the delegate
- world.getMessageHandler().handleMessage(
- new Message("Unable to find type for generic bound. Missing type is " + resolvedFirstBound.getName(),
- getSourceLocation(), true));
+ world.getLint().cantFindType.signal(
+ "Unable to find type for generic bound. Missing type is " + resolvedFirstBound.getName(),
+ getSourceLocation());
} else {
brtd = new BoundedReferenceTypeDelegate((ReferenceType) resolvedFirstBound);
setDelegate(brtd);