RFR: 8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutOfBoundsException

Jeanette Winzenburg fastegal at openjdk.java.net
Thu Mar 5 17:03:34 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.

why a second pr for the same issue (see https://github.com/openjdk/jfx/pull/73)? particularly one that doesn't do much more/else/better (than clamping, which isn't good enough)?

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

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


More information about the openjfx-dev mailing list