the bug is an incorrect edit location (for tree: treeItem) in edit cancel events - expected is the location at the time the cell edit was started, actual was the location of at the time the edit was cancelled. See the report for details.
Fixed by storing the edit location in startEdit and use that in cancelEdit. Added tests that failed before and passed after and tests that (accidentally :) passed before and still pass after. ------------- Commit messages: - 8267094: TreeCell: cancelEvent must return correct editing location Changes: https://git.openjdk.java.net/jfx/pull/524/files Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=524&range=00 Issue: https://bugs.openjdk.java.net/browse/JDK-8267094 Stats: 123 lines in 3 files changed: 98 ins; 22 del; 3 mod Patch: https://git.openjdk.java.net/jfx/pull/524.diff Fetch: git fetch https://git.openjdk.java.net/jfx pull/524/head:pull/524 PR: https://git.openjdk.java.net/jfx/pull/524
