From: aclement Date: Sat, 12 Nov 2005 10:01:15 +0000 (+0000) Subject: removed 1.5 api (doh!) X-Git-Tag: V1_5_0RC1~196 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=21472d1c9b53e7d5b2f69942f04db583c34a0237;p=aspectj.git removed 1.5 api (doh!) --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 4754164f9..7c0f3f405 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -1063,7 +1063,7 @@ public class BcelWeaver implements IWeaver { // and we can ignore the problem here (the original compile error will be reported again from // the eclipse source type) - pr113531 ReferenceTypeDelegate theDelegate = ((ReferenceType)theType).getDelegate(); - if (theDelegate.getClass().getSimpleName().equals("EclipseSourceType")) continue; + if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue; throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass()); }