mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
LiveVariablesAnalyzer#findLiveVars: clone bitset to avoid unwanted mutations of shared object
This commit is contained in:
+1
-1
@@ -148,7 +148,7 @@ public class LiveVariablesAnalyzer {
|
||||
set.or(liveVars);
|
||||
return set;
|
||||
} else {
|
||||
result.put((FinishElementInstruction)instruction, liveVars);
|
||||
result.put((FinishElementInstruction)instruction, (BitSet)liveVars.clone());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user