Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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