Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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