Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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