From a135e75affbb31508f4a66e9b86b7a8214706361 Mon Sep 17 00:00:00 2001 From: hansonr Date: Sat, 23 Mar 2019 08:16:46 -0500 Subject: [PATCH] Throwable, not IOException, in JSON in.close() --- src/jalview/javascript/json/JSON.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/jalview/javascript/json/JSON.java b/src/jalview/javascript/json/JSON.java index 6cb7cb5..a1de56e 100644 --- a/src/jalview/javascript/json/JSON.java +++ b/src/jalview/javascript/json/JSON.java @@ -170,7 +170,7 @@ public class JSON { data = null; try { super.close(); - } catch (IOException e) { + } catch (Throwable e) { // ignore, especially if we set $in to a string! } } -- 1.7.10.2