summaryrefslogtreecommitdiffstats
path: root/weaver/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-02-22 15:24:23 +0000
committeraclement <aclement>2006-02-22 15:24:23 +0000
commit3d44fed01c620ddb21e92b019ecd988210edd67e (patch)
tree03bd6921707dff4cb4d4100068a06590b34d97aa /weaver/src
parent1d3c04222a2f9129d0deca7ba32741d7d98bf705 (diff)
downloadaspectj-3d44fed01c620ddb21e92b019ecd988210edd67e.tar.gz
aspectj-3d44fed01c620ddb21e92b019ecd988210edd67e.zip
optimizationasm: has to force that it wants a modifiable (bcel) delegate
Diffstat (limited to 'weaver/src')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
index 60d91fc4e..3d485ab02 100644
--- a/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
+++ b/weaver/src/org/aspectj/weaver/bcel/LazyClassGen.java
@@ -221,7 +221,9 @@ public final class LazyClassGen {
BcelWorld world = new BcelWorld(path);
- LazyClassGen clazz = new LazyClassGen(BcelWorld.getBcelObjectType(world.resolve(name)));
+ UnresolvedType ut = UnresolvedType.forName(name);
+ ut.setNeedsModifiableDelegate(true);
+ LazyClassGen clazz = new LazyClassGen(BcelWorld.getBcelObjectType(world.resolve(ut)));
clazz.print(out);
out.println();
}