On Thu, 5 Mar 2020 16:01:10 GMT, Robert Lichtenberger <rlich...@openjdk.org> 
wrote:

> This PR fixes JDK-8176270 by clamping the end index of the selected text to 
> the length of the text.

This pull request has now been integrated.

Changeset: e2d1c021
Author:    Robert Lichtenberger <rlich...@openjdk.org>
Committer: Kevin Rushforth <k...@openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/e2d1c021
Stats:     219 lines in 4 files changed: 18 ins; 172 del; 29 mod

8176270: Adding ChangeListener to TextField.selectedTextProperty causes 
StringOutOfBoundsException

Reviewed-by: aghaisas, kcr

-------------

PR: https://git.openjdk.java.net/jfx/pull/138

Reply via email to