aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2005-11-12 10:01:15 +0000
committeraclement <aclement>2005-11-12 10:01:15 +0000
commit21472d1c9b53e7d5b2f69942f04db583c34a0237 (patch)
tree4cd578614aa8de8c0d6f0d93532488182c5a6f75
parentefbf62be5e5732e14a05a8bbe509289c8f6167d0 (diff)
downloadaspectj-21472d1c9b53e7d5b2f69942f04db583c34a0237.tar.gz
aspectj-21472d1c9b53e7d5b2f69942f04db583c34a0237.zip
removed 1.5 api (doh!)
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java2
1 files changed, 1 insertions, 1 deletions
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());
}