Clean backport of JDK-8338701. -------------
Commit messages: - Backport 6115b396bacf62f39dcaa93c7c0adcd60b428b8c Changes: https://git.openjdk.org/jfx23u/pull/18/files Webrev: https://webrevs.openjdk.org/?repo=jfx23u&pr=18&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8338701 Stats: 56 lines in 6 files changed: 45 ins; 0 del; 11 mod Patch: https://git.openjdk.org/jfx23u/pull/18.diff Fetch: git fetch https://git.openjdk.org/jfx23u.git pull/18/head:pull/18 PR: https://git.openjdk.org/jfx23u/pull/18