summaryrefslogtreecommitdiffstats
path: root/weaver/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-02-13 10:51:11 +0000
committeraclement <aclement>2006-02-13 10:51:11 +0000
commit0b39aa5dd0218561f11258ac272112ada447065e (patch)
treeb5b755ccab07c2eabbcbd44fb24764d2c9b8e48f /weaver/src
parente2978d39000b099f4705047777263de6005ae5fe (diff)
downloadaspectj-0b39aa5dd0218561f11258ac272112ada447065e.tar.gz
aspectj-0b39aa5dd0218561f11258ac272112ada447065e.zip
fix for 119882 (from Helen) - similar to fix for 113531
Diffstat (limited to 'weaver/src')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
index 7b62788a9..64692bf40 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java
@@ -1092,6 +1092,11 @@ public class BcelWeaver implements IWeaver {
if (!theType.isAspect()) {
BcelObjectType classType = BcelWorld.getBcelObjectType(theType);
if (classType==null) {
+
+ // bug 119882 - see above comment for bug 113531
+ ReferenceTypeDelegate theDelegate = ((ReferenceType)theType).getDelegate();
+ if (theDelegate.getClass().getName().endsWith("EclipseSourceType")) continue;
+
throw new BCException("Can't find bcel delegate for "+className+" type="+theType.getClass());
}
weaveAndNotify(classFile, classType, requestor);