diff options
author | aclement <aclement> | 2005-12-19 21:20:03 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-12-19 21:20:03 +0000 |
commit | 10b88f0c2342124f35425a8c3cac54fad32fa8aa (patch) | |
tree | d9956fa123d2b1c0dd693e0c56b63c2c8cf6a0c5 /loadtime | |
parent | 22966838cb6460a0a3fcff882611ba71e0a60225 (diff) | |
download | aspectj-10b88f0c2342124f35425a8c3cac54fad32fa8aa.tar.gz aspectj-10b88f0c2342124f35425a8c3cac54fad32fa8aa.zip |
matthews message accumulation changes for ltw
Diffstat (limited to 'loadtime')
-rw-r--r-- | loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java index 35a568858..9c888fccf 100644 --- a/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java +++ b/loadtime/src/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java @@ -105,7 +105,7 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { } bcelWorld = new BcelWorld( - loader, messageHandler, new ICrossReferenceHandler() { + loader, getMessageHandler(), new ICrossReferenceHandler() { public void addCrossReference(ISourceLocation from, ISourceLocation to, IRelationship.Kind kind, boolean runtimeTest) { ;// for tools only } @@ -121,7 +121,6 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { // register the definitions registerDefinitions(weaver, loader, definitions); - messageHandler = bcelWorld.getMessageHandler(); //bcelWorld.setResolutionLoader(loader.getParent());//(ClassLoader)null);// @@ -207,12 +206,12 @@ public class ClassLoaderWeavingAdaptor extends WeavingAdaptor { allOptions.append(definition.getWeaverOptions()).append(' '); } - Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, messageHandler); + Options.WeaverOption weaverOption = Options.parse(allOptions.toString(), loader, getMessageHandler()); // configure the weaver and world // AV - code duplicates AspectJBuilder.initWorldAndWeaver() World world = weaver.getWorld(); - world.setMessageHandler(weaverOption.messageHandler); + setMessageHandler(weaverOption.messageHandler); world.setXlazyTjp(weaverOption.lazyTjp); world.setXHasMemberSupportEnabled(weaverOption.hasMember); world.setPinpointMode(weaverOption.pinpoint); |