From 0f207b3c44c701d42ac1bb828f5c967e2de73568 Mon Sep 17 00:00:00 2001 From: Luck Date: Tue, 19 May 2020 13:05:42 +0100 Subject: Catch Throwable instead of Exception when trying to compute classes in MethodDisambiguator --- .../src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spark-common/src/main/java/me') diff --git a/spark-common/src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java b/spark-common/src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java index 3a150fd..e6311e0 100644 --- a/spark-common/src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java +++ b/spark-common/src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java @@ -54,7 +54,7 @@ public final class MethodDisambiguator { if (computedClass == null) { try { computedClass = compute(className); - } catch (Exception e) { + } catch (Throwable e) { computedClass = ComputedClass.EMPTY; } -- cgit