2020-12-10 18:58:42 +01:00
|
|
|
--- openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
|
|
|
|
+++ openjdk/src/java.desktop/share/classes/java/awt/Toolkit.java
|
2021-11-04 16:10:02 +01:00
|
|
|
@@ -601,9 +601,13 @@
|
2020-12-10 18:58:42 +01:00
|
|
|
!(toolkit instanceof HeadlessToolkit)) {
|
|
|
|
toolkit = new HeadlessToolkit(toolkit);
|
|
|
|
}
|
|
|
|
if (!GraphicsEnvironment.isHeadless()) {
|
|
|
|
- loadAssistiveTechnologies();
|
|
|
|
+ try {
|
|
|
|
+ loadAssistiveTechnologies();
|
|
|
|
+ } catch (AWTError error) {
|
|
|
|
+ // ignore silently
|
|
|
|
+ }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
return toolkit;
|
|
|
|
}
|