JBR-6764: Add null check on hostAdapterLocator

(cherry picked from commit 7396316337)
This commit is contained in:
Nikita Tsarev
2024-06-12 20:41:56 +02:00
committed by Nikita Gubarkov
parent 409efc015e
commit 8cb15d1ec9

View File

@@ -401,7 +401,7 @@ class ExecutableInputMethodManager extends InputMethodManager
}
// Workaround for JBR-6764
if (FontUtilities.isMacOSX) {
if (hostAdapterLocator != null && FontUtilities.isMacOSX) {
return hostAdapterLocator.deriveLocator(locale);
}