Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

2535c8
diff -uNr openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java jdk8/jdk/src/java.desktop/share/classes/java/awt/Toolkit.java
2535c8
--- openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
2535c8
+++ openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
2535c8
@@ -883,9 +883,13 @@
2535c8
                     return null;
2535c8
                 }
2535c8
             });
2535c8
             if (!GraphicsEnvironment.isHeadless()) {
2535c8
-                loadAssistiveTechnologies();
2535c8
+                try {
2535c8
+                    loadAssistiveTechnologies();
2535c8
+                } catch (AWTError error) {
2535c8
+                    // ignore silently
2535c8
+                }
2535c8
             }
2535c8
         }
2535c8
         return toolkit;
2535c8
     }