Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

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