]> source.dussan.org Git - aspectj.git/commitdiff
demotion system only active for LTW by default
authoraclement <aclement>
Tue, 17 Nov 2009 16:07:05 +0000 (16:07 +0000)
committeraclement <aclement>
Tue, 17 Nov 2009 16:07:05 +0000 (16:07 +0000)
weaver/src/org/aspectj/weaver/ltw/LTWWorld.java

index e432b97cb7194fe075962f2178b0874d6b412532..095c2d3a8eddc122c9d5407cc52b44feb4d5d25a 100644 (file)
@@ -66,6 +66,10 @@ public class LTWWorld extends BcelWorld implements IReflectionWorld {
                        concurrentMapClass = null;
                }
        }
+       
+       public boolean isDemotionActive() {
+               return true;
+       }
 
        /**
         * Build a World from a ClassLoader, for LTW support