Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

2d54fe
diff -uNr openjdk-orig/jdk/src/share/classes/java/awt/Toolkit.java jdk8/jdk/src/share/classes/java/awt/Toolkit.java
2d54fe
--- openjdk-orig/jdk/src/share/classes/java/awt/Toolkit.java	2009-01-23 11:59:47.000000000 -0500
2d54fe
+++ jdk8/jdk/src/share/classes/java/awt/Toolkit.java	2009-01-23 12:05:20.000000000 -0500
2d54fe
@@ -883,7 +883,11 @@
2d54fe
                     return null;
2d54fe
                 }
2d54fe
             });
2d54fe
-            loadAssistiveTechnologies();
2d54fe
+         try {
2d54fe
+                 loadAssistiveTechnologies();
2d54fe
+             } catch ( AWTError error) {
2d54fe
+                 // ignore silently
2d54fe
+             }
2d54fe
         }
2d54fe
         return toolkit;
2d54fe
     }