You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running built native image on Windows, AWT component MenuItem shows wrong characters. MenuItem on SystemTrayPopupMenu shows characters with inverted byte order.
Other OSs or AWT components are unverified.
Using the latest version of GraalVM can resolve many issues.
Describe the Issue
Running built native image on Windows, AWT component
MenuItem
shows wrong characters.MenuItem
onSystemTray
PopupMenu
shows characters with inverted byte order.Other OSs or AWT components are unverified.
Using the latest version of GraalVM can resolve many issues.
GraalVM Version
OpenJDK Runtime Environment GraalVM CE 21.0.2+13.1 (build 21.0.2+13-jvmci-23.1-b30)
Operating System and Version
Windows 22H2 (19045.4894)
Diagnostic Flag Confirmation
-H:ThrowMissingRegistrationErrors=
flag.Run Command
Expected Behavior
AWT MenuItem on SystemTray PopupMenu shows "Reproduce"
Actual Behavior
AWT MenuItem on SystemTray PopupMenu shows "刀攀瀀爀漀搀甀挀攀".
Each character has inverted byte order of UTF-16 "Reproduce".
Steps to Reproduce
Put files in current directory :
Reproduce.java
native-image.properties
fontconfig.properties is the copy of %JAVA_HOME%/lib/fontconfig.properties.src
Then run the commands described above.
Additional Context
Without
java_home/conf/fonts/fontconfig.properties
,MenuItem
does not show any characters.Setting system property
java.home
for it runtime.Run-Time Log Output and Error Messages
No response
The text was updated successfully, but these errors were encountered: