X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=Robust%2Fsrc%2FAnalysis%2FSSJava%2FLocationInference.java;h=89447622995c3cccc3963c11cb5e65058c7f3b4a;hb=2ab2e6efcb5547f4112ee71f32b28149796b2df1;hp=e5487a1de8a93d1ecc8d44f458e7408e1e8b7061;hpb=b72257877d285dc2879e3360d967b909de887c72;p=IRC.git diff --git a/Robust/src/Analysis/SSJava/LocationInference.java b/Robust/src/Analysis/SSJava/LocationInference.java index e5487a1d..89447622 100644 --- a/Robust/src/Analysis/SSJava/LocationInference.java +++ b/Robust/src/Analysis/SSJava/LocationInference.java @@ -2728,7 +2728,13 @@ public class LocationInference { MethodDescriptor parentMethodDesc = getParentMethodDesc(md.getClassDesc(), md); if (parentMethodDesc != null) { Map parentMap = buildLattice.getIntermediateLocMap(parentMethodDesc); - buildLattice.setIntermediateLocMap(md, parentMap); + Map childMap = new HashMap(); + Set keySet = parentMap.keySet(); + for (Iterator iterator2 = keySet.iterator(); iterator2.hasNext();) { + TripleItem key = (TripleItem) iterator2.next(); + childMap.put(key, parentMap.get(key)); + } + buildLattice.setIntermediateLocMap(md, childMap); } buildLattice(md); }