From 6dcd808cc866729f58a982ffc58585b98968f629 Mon Sep 17 00:00:00 2001 From: huanghongxun Date: Fri, 3 Jun 2022 23:17:00 +0800 Subject: [PATCH] fix(crash): suggest jdk corruption. Closes #1509. --- HMCL/src/main/java/org/jackhuang/hmcl/util/CrashReporter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/HMCL/src/main/java/org/jackhuang/hmcl/util/CrashReporter.java b/HMCL/src/main/java/org/jackhuang/hmcl/util/CrashReporter.java index 1dcabc64f..252265bea 100644 --- a/HMCL/src/main/java/org/jackhuang/hmcl/util/CrashReporter.java +++ b/HMCL/src/main/java/org/jackhuang/hmcl/util/CrashReporter.java @@ -47,6 +47,7 @@ public class CrashReporter implements Thread.UncaughtExceptionHandler { pair("javafx.fxml.LoadException", i18n("crash.NoClassDefFound")), pair("Location is not set", i18n("crash.NoClassDefFound")), pair("UnsatisfiedLinkError", i18n("crash.user_fault")), + pair("java.time.zone.ZoneRulesException: Unable to load TZDB time-zone rules", i18n("crash.user_fault")), pair("java.lang.NoClassDefFoundError", i18n("crash.NoClassDefFound")), pair("org.jackhuang.hmcl.util.ResourceNotFoundError", i18n("crash.NoClassDefFound")), pair("java.lang.VerifyError", i18n("crash.NoClassDefFound")),