From 0bba28eded7398965e547d040c56b137aa1d1478 Mon Sep 17 00:00:00 2001 From: "Egor.Ushakov" Date: Wed, 21 Jan 2015 19:01:37 +0300 Subject: [PATCH] decompiler: inner exprent list could be modified --- .../decompiler/modules/decompiler/exps/FunctionExprent.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/FunctionExprent.java b/src/org/jetbrains/java/decompiler/modules/decompiler/exps/FunctionExprent.java index 7fde2f5..8cb02b8 100644 --- a/src/org/jetbrains/java/decompiler/modules/decompiler/exps/FunctionExprent.java +++ b/src/org/jetbrains/java/decompiler/modules/decompiler/exps/FunctionExprent.java @@ -221,7 +221,8 @@ public class FunctionExprent extends Exprent { } public FunctionExprent(int funcType, Exprent operand, Set bytecodeOffsets) { - this(funcType, Collections.singletonList(operand), bytecodeOffsets); + this(funcType, new ArrayList(1), bytecodeOffsets); + lstOperands.add(operand); } @Override