From: aclement Date: Fri, 30 May 2008 17:21:15 +0000 (+0000) Subject: 231396: pass classname as we know it X-Git-Tag: V1_6_1rc1~198 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c59828a7db87f4f84acd37d68d8ccbf3165b746f;p=aspectj.git 231396: pass classname as we know it --- diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java index 72b67d116..4103d0231 100644 --- a/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java +++ b/weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java @@ -1425,7 +1425,7 @@ public class BcelWeaver implements IWeaver { public UnwovenClassFile[] getClassFilesFor(LazyClassGen clazz) { List childClasses = clazz.getChildClasses(world); UnwovenClassFile[] ret = new UnwovenClassFile[1 + childClasses.size()]; - ret[0] = new UnwovenClassFile(clazz.getFileName(),clazz.getJavaClassBytesIncludingReweavable(world)); + ret[0] = new UnwovenClassFile(clazz.getFileName(),clazz.getClassName(),clazz.getJavaClassBytesIncludingReweavable(world)); int index = 1; for (Iterator iter = childClasses.iterator(); iter.hasNext();) { UnwovenClassFile.ChildClass element = (UnwovenClassFile.ChildClass) iter.next();