]> source.dussan.org Git - aspectj.git/commitdiff
removed 1.5 api (doh!)
authoraclement <aclement>
Sat, 12 Nov 2005 10:01:15 +0000 (10:01 +0000)
committeraclement <aclement>
Sat, 12 Nov 2005 10:01:15 +0000 (10:01 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java

index 4754164f9a423239ba485afc8f40d2657f7080b1..7c0f3f40543d2c98521237965da4ecc1e062a7e4 100644 (file)
@@ -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());
                                }