From 21472d1c9b53e7d5b2f69942f04db583c34a0237 Mon Sep 17 00:00:00 2001 From: aclement Date: Sat, 12 Nov 2005 10:01:15 +0000 Subject: [PATCH] removed 1.5 api (doh!) --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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()); } -- 2.39.5