Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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