Skip to content

Commit

Permalink
JBR-6764: Add null check on hostAdapterLocator
Browse files Browse the repository at this point in the history
  • Loading branch information
tsarn committed Jun 14, 2024
1 parent 1a58e7f commit ce21a7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ InputMethodLocator findInputMethod(Locale locale) {
}

// Workaround for JBR-6764
if (FontUtilities.isMacOSX) {
if (hostAdapterLocator != null && FontUtilities.isMacOSX) {
return hostAdapterLocator.deriveLocator(locale);
}

Expand Down

0 comments on commit ce21a7a

Please sign in to comment.