Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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