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/jfx11u/pull/66/files Webrev: https://webrevs.openjdk.java.net/?repo=jfx11u&pr=66&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/jfx11u/pull/66.diff Fetch: git fetch https://git.openjdk.java.net/jfx11u pull/66/head:pull/66 PR: https://git.openjdk.java.net/jfx11u/pull/66