Question marks instead of Cyrillic symbols at logon screen

Good day.
I have Astra Linux (Debian 10-based) distro installed.
Spark 2.9.4 and OpenJDK 11 packages.
Other programs do not have problems with Cyrillic but Spark does.
Must be something to do with character encoding. How to fix it?
Screenshot_20220628_174147

Can you try with Java 8?

Thank you for the suggestion. OpenJDK 8 solved the problem.