From 0b39aa5dd0218561f11258ac272112ada447065e Mon Sep 17 00:00:00 2001 From: aclement Date: Mon, 13 Feb 2006 10:51:11 +0000 Subject: fix for 119882 (from Helen) - similar to fix for 113531 --- weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'weaver/src') 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); -- cgit v1.2.3