[jfx15] Integrated: 8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutOfBoundsException

Robert Lichtenberger rlichten at openjdk.java.net
Mon Jul 13 13:00:07 UTC 2020


On Thu, 5 Mar 2020 16:01:10 GMT, Robert Lichtenberger <rlichten at 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 <rlichten at openjdk.org>
Committer: Kevin Rushforth <kcr at 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


More information about the openjfx-dev mailing list