diff options
author | Luck <git@lucko.me> | 2020-05-19 13:05:42 +0100 |
---|---|---|
committer | Luck <git@lucko.me> | 2020-05-19 13:05:42 +0100 |
commit | 0f207b3c44c701d42ac1bb828f5c967e2de73568 (patch) | |
tree | 2377a24017fefea607076bb6b897803f96132d20 /spark-common/src/main/java/me | |
parent | 775ead64ff048caccc3f1bb585eaf1111006a3d5 (diff) | |
download | spark-0f207b3c44c701d42ac1bb828f5c967e2de73568.tar.gz spark-0f207b3c44c701d42ac1bb828f5c967e2de73568.tar.bz2 spark-0f207b3c44c701d42ac1bb828f5c967e2de73568.zip |
Catch Throwable instead of Exception when trying to compute classes in MethodDisambiguator
Diffstat (limited to 'spark-common/src/main/java/me')
-rw-r--r-- | spark-common/src/main/java/me/lucko/spark/common/util/MethodDisambiguator.java | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |