From f31f43ba78eb1bcb45950ce224039f38678e3a2a Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 8 Jan 2010 19:10:44 +0000 Subject: [PATCH] make the return to softrefs configurable --- org.aspectj.matcher/src/org/aspectj/weaver/World.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/World.java b/org.aspectj.matcher/src/org/aspectj/weaver/World.java index bcebed34d..e07cd8497 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/World.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/World.java @@ -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; -- 2.39.5