A clean backport to jfx22u. The fix is for the canvas path constructor drawing with an old path on canvas, without the fix, the page crashes. I have tested the fix it is working with the fix and failing without the fix.
------------- Commit messages: - Backport 3cf9390f5fb2ad564eeec3a95744503f1b26dd0d Changes: https://git.openjdk.org/jfx22u/pull/5/files Webrev: https://webrevs.openjdk.org/?repo=jfx22u&pr=5&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8323879 Stats: 62 lines in 2 files changed: 61 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx22u/pull/5.diff Fetch: git fetch https://git.openjdk.org/jfx22u.git pull/5/head:pull/5 PR: https://git.openjdk.org/jfx22u/pull/5