28abd3dab7
bug1-bug2-..-bugN-XY-lowercase_comment_suffix_or_jdkpart.patch XY is number 01-99 for patches which are order sensitive or simply counts together where bugs are jdkIJK or prLMN or rhOPQ and if more bugs (which is desired) then in jdk->pr->rh order. I..Q are numbers corresponding to: https://bugs.openjdk.java.net/browse/JDK-IJK https://icedtea.classpath.org/bugzilla/show_bug.cgi?id=LMN https://bugzilla.redhat.com/show_bug.cgi?id=OPQ
19 lines
688 B
Diff
19 lines
688 B
Diff
diff -uNr openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java jdk8/jdk/src/java.desktop/share/classes/java/awt/Toolkit.java
|
|
--- openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
|
|
+++ openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
|
|
@@ -883,9 +883,13 @@
|
|
return null;
|
|
}
|
|
});
|
|
if (!GraphicsEnvironment.isHeadless()) {
|
|
- loadAssistiveTechnologies();
|
|
+ try {
|
|
+ loadAssistiveTechnologies();
|
|
+ } catch (AWTError error) {
|
|
+ // ignore silently
|
|
+ }
|
|
}
|
|
}
|
|
return toolkit;
|
|
}
|