Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

d1af5a
diff -r 618ad1237e73 src/java.desktop/share/classes/java/awt/Toolkit.java
d1af5a
--- a/src/java.desktop/share/classes/java/awt/Toolkit.java	Thu Jun 13 19:37:49 2019 +0200
d1af5a
+++ b/src/java.desktop/share/classes/java/awt/Toolkit.java	Thu Jul 04 10:35:42 2019 +0200
d1af5a
@@ -595,7 +595,11 @@
d1af5a
                 toolkit = new HeadlessToolkit(toolkit);
d1af5a
             }
d1af5a
             if (!GraphicsEnvironment.isHeadless()) {
d1af5a
-                loadAssistiveTechnologies();
d1af5a
+                try {
d1af5a
+                    loadAssistiveTechnologies();
d1af5a
+                } catch (AWTError error) {
d1af5a
+                    // ignore silently
d1af5a
+                }
d1af5a
             }
d1af5a
         }
d1af5a
         return toolkit;