From ee778ce4e4545acadbc4794c3e2846bbceee97e6 Mon Sep 17 00:00:00 2001 From: Mikhail Pyltsin Date: Wed, 15 Nov 2023 17:24:29 +0100 Subject: [PATCH] [java-decompiler] IDEA-326015 Support common cases of deconstruction in switch - not hide variables, which have names - fix tests GitOrigin-RevId: e60ff327233eb3d26f2b3fafcbb034fcce420e80 --- testData/bulk/pkg/res/Loader.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/testData/bulk/pkg/res/Loader.java b/testData/bulk/pkg/res/Loader.java index cdb1db5b9..1212774f4 100644 --- a/testData/bulk/pkg/res/Loader.java +++ b/testData/bulk/pkg/res/Loader.java @@ -18,7 +18,8 @@ public String getResource() { stream.close(); return new String(bytes, "UTF-8"); } catch (Exception var5) { - throw new RuntimeException("Resource load failed", var5); + Exception e = var5; + throw new RuntimeException("Resource load failed", e); } } }