RFR: 8324879: Platform-specific preferences keys are incorrect for Windows toolkit

Michael Strauß mstrauss at openjdk.org
Tue Jan 30 00:57:50 UTC 2024


`WinApplication` contains mappings of platform-specific preference keys to platform-independent keys.
These keys are incorrect (for example, `Windows.UIColor.ForegroundColor` instead of `Windows.UIColor.Foreground`).

This was not discovered during testing because the manual test application doesn't show the values of platform-independent properties (it only shows the platform-specific mappings). I've exended the test application to also show the platform-independent property values.

-------------

Commit messages:
 - fix incorrect key mappings for windows

Changes: https://git.openjdk.org/jfx/pull/1353/files
 Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1353&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324879
  Stats: 40 lines in 3 files changed: 33 ins; 0 del; 7 mod
  Patch: https://git.openjdk.org/jfx/pull/1353.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1353/head:pull/1353

PR: https://git.openjdk.org/jfx/pull/1353


More information about the openjfx-dev mailing list