]> source.dussan.org Git - aspectj.git/commitdiff
drive active demotion code - may be temporary, depends on testing
authoraclement <aclement>
Thu, 8 Feb 2007 12:39:32 +0000 (12:39 +0000)
committeraclement <aclement>
Thu, 8 Feb 2007 12:39:32 +0000 (12:39 +0000)
weaver/src/org/aspectj/weaver/tools/WeavingAdaptor.java

index d532b8d94280cfabb01817b88b9150c4ce26bdf3..e9088bb54a864166a715e2f0ffa7b2e009cd934c 100644 (file)
@@ -351,6 +351,7 @@ public class WeavingAdaptor implements IMessageContext {
        private byte[] getWovenBytes(String name, byte[] bytes) throws IOException {
                WeavingClassFileProvider wcp = new WeavingClassFileProvider(name,bytes);
                weaver.weave(wcp);
+               weaver.getWorld().demote();
                return wcp.getBytes();          
        }