Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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