]> source.dussan.org Git - aspectj.git/commitdiff
231396: pass classname as we know it
authoraclement <aclement>
Fri, 30 May 2008 17:21:15 +0000 (17:21 +0000)
committeraclement <aclement>
Fri, 30 May 2008 17:21:15 +0000 (17:21 +0000)
weaver/src/org/aspectj/weaver/bcel/BcelWeaver.java

index 72b67d11675723ecdb81fcad7b565c588b3ce4ca..4103d0231b884c5f080592ea5d23d5146bec2b2d 100644 (file)
@@ -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();