Almost clean backport of JDK-8303026 The test that is part of this backport is added manually, because of the large offset.
------------- Commit messages: - Add test that is part of the original patch (but with a large offset) - 8303026: [TextField] IOOBE on setting text with control characters that replaces existing text Changes: https://git.openjdk.org/jfx17u/pull/117/files Webrev: https://webrevs.openjdk.org/?repo=jfx17u&pr=117&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8303026 Stats: 15 lines in 2 files changed: 14 ins; 0 del; 1 mod Patch: https://git.openjdk.org/jfx17u/pull/117.diff Fetch: git fetch https://git.openjdk.org/jfx17u pull/117/head:pull/117 PR: https://git.openjdk.org/jfx17u/pull/117
