From: aclement Date: Sat, 7 Nov 2009 00:34:13 +0000 (+0000) Subject: guard raising cantFindType X-Git-Tag: V1_6_7~139 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b1554f096ea281784f1d767d8798cc3c7cb00b7a;p=aspectj.git guard raising cantFindType --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/MissingResolvedTypeWithKnownSignature.java b/org.aspectj.matcher/src/org/aspectj/weaver/MissingResolvedTypeWithKnownSignature.java index 60252a19d..18b2cdff2 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/MissingResolvedTypeWithKnownSignature.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/MissingResolvedTypeWithKnownSignature.java @@ -221,6 +221,9 @@ public class MissingResolvedTypeWithKnownSignature extends ResolvedType { } private void raiseCantFindType(String key) { + if (!world.getLint().cantFindType.isEnabled()) { + return; + } if (issuedCantFindTypeError) { return; }