Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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