backport (18->11) for 8276490: Incorrect path for duplicate x and y values, when path falls outside axis bound
------------- Commit messages: - 8276490: Incorrect path for duplicate x and y values, when path falls outside axis bound Changes: https://git.openjdk.java.net/jfx17u/pull/25/files Webrev: https://webrevs.openjdk.java.net/?repo=jfx17u&pr=25&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8276490 Stats: 592 lines in 3 files changed: 581 ins; 1 del; 10 mod Patch: https://git.openjdk.java.net/jfx17u/pull/25.diff Fetch: git fetch https://git.openjdk.java.net/jfx17u pull/25/head:pull/25 PR: https://git.openjdk.java.net/jfx17u/pull/25