Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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