Blame SOURCES/rh1648242-accessible_toolkit_crash_do_not_break_jvm.patch

d557d5
diff -uNr openjdk-orig/jdk/src/share/classes/java/awt/Toolkit.java openjdk/jdk/src/share/classes/java/awt/Toolkit.java
d557d5
--- openjdk-orig/jdk/src/share/classes/java/awt/Toolkit.java	2009-01-23 11:59:47.000000000 -0500
d557d5
+++ openjdk/jdk/src/share/classes/java/awt/Toolkit.java	2009-01-23 12:05:20.000000000 -0500
d557d5
@@ -871,7 +871,11 @@
d557d5
                         return null;
d557d5
                     }
d557d5
                 });
d557d5
-                loadAssistiveTechnologies();
d557d5
+                try {
d557d5
+                    loadAssistiveTechnologies();
d557d5
+                } catch ( AWTError error) {
d557d5
+                    // ignore silently
d557d5
+                }
d557d5
             } finally {
d557d5
                 // Make sure to always re-enable the JIT.
d557d5
                 java.lang.Compiler.enable();