This pull request contains a backport of commit [af7e0571](https://github.com/openjdk/jfx/commit/af7e05716711d942df20eb1f807b384810a4a839) from the [openjdk/jfx](https://git.openjdk.org/jfx) repository.
The commit being backported was authored by Michael Strauß on 30 Jan 2024 and was reviewed by Kevin Rushforth and Andy Goryachev. ------------- Commit messages: - Backport af7e05716711d942df20eb1f807b384810a4a839 Changes: https://git.openjdk.org/jfx/pull/1355/files Webrev: https://webrevs.openjdk.org/?repo=jfx&pr=1355&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/1355.diff Fetch: git fetch https://git.openjdk.org/jfx.git pull/1355/head:pull/1355 PR: https://git.openjdk.org/jfx/pull/1355