decompiler: inner exprent list could be modified

This commit is contained in:
Egor.Ushakov
2015-01-21 19:01:37 +03:00
parent 12457e9a7e
commit 0bba28eded

View File

@@ -221,7 +221,8 @@ public class FunctionExprent extends Exprent {
}
public FunctionExprent(int funcType, Exprent operand, Set<Integer> bytecodeOffsets) {
this(funcType, Collections.singletonList(operand), bytecodeOffsets);
this(funcType, new ArrayList<Exprent>(1), bytecodeOffsets);
lstOperands.add(operand);
}
@Override