]> source.dussan.org Git - aspectj.git/commitdiff
make the return to softrefs configurable
authoraclement <aclement>
Fri, 8 Jan 2010 19:10:44 +0000 (19:10 +0000)
committeraclement <aclement>
Fri, 8 Jan 2010 19:10:44 +0000 (19:10 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/World.java

index bcebed34df7c5d16b8d77c5527d872bba3a76270..e07cd84974280df1cd8523379928bfed0e81137d 100644 (file)
@@ -1389,9 +1389,9 @@ public abstract class World implements Dump.INode {
                                if (s.equalsIgnoreCase("true")) {
                                        typeMap.debugDemotion = true;
                                }
-                               s = p.getProperty(xsetTYPE_REFS, "false");
-                               if (s.equalsIgnoreCase("true")) {
-                                       typeMap.policy = TypeMap.USE_WEAK_REFS;
+                               s = p.getProperty(xsetTYPE_REFS, "true");
+                               if (s.equalsIgnoreCase("false")) {
+                                       typeMap.policy = TypeMap.USE_SOFT_REFS;
                                }
 
                                runMinimalMemorySet = p.getProperty(xsetRUN_MINIMAL_MEMORY) != null;