Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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