Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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