Almost clean backport of JDK-8318386. The original patch contains a fix to gstaacparse.c which is not in jfx17u because it does not have JDK-8277309 (JDK-8277309)
------------- Commit messages: - Backport 606878af275dbad551a10653c92a2deef61c10cd Changes: https://git.openjdk.org/jfx17u/pull/181/files Webrev: https://webrevs.openjdk.org/?repo=jfx17u&pr=181&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8318387 Stats: 45630 lines in 437 files changed: 19420 ins; 18926 del; 7284 mod Patch: https://git.openjdk.org/jfx17u/pull/181.diff Fetch: git fetch https://git.openjdk.org/jfx17u.git pull/181/head:pull/181 PR: https://git.openjdk.org/jfx17u/pull/181