Clean backport of JDK-8317508. -------------
Commit messages: - Backport de456dad193f295a8bd93b72bb9b71960e6afd18 Changes: https://git.openjdk.org/jfx21u/pull/21/files Webrev: https://webrevs.openjdk.org/?repo=jfx21u&pr=21&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8317508 Stats: 12 lines in 4 files changed: 7 ins; 0 del; 5 mod Patch: https://git.openjdk.org/jfx21u/pull/21.diff Fetch: git fetch https://git.openjdk.org/jfx21u.git pull/21/head:pull/21 PR: https://git.openjdk.org/jfx21u/pull/21