RFR: 8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutOfBoundsException [v7]
Robert Lichtenberger
rlichten at openjdk.java.net
Thu Jul 2 05:29:05 UTC 2020
> This PR fixes JDK-8176270 by clamping the end index of the selected text to the length of the text.
Robert Lichtenberger has updated the pull request incrementally with one additional commit since the last revision:
8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutOfBoundsException
Clamping is no longer needed, removed it.
-------------
Changes:
- all: https://git.openjdk.java.net/jfx/pull/138/files
- new: https://git.openjdk.java.net/jfx/pull/138/files/660335bf..bf9e08d7
Webrevs:
- full: https://webrevs.openjdk.java.net/jfx/138/webrev.06
- incr: https://webrevs.openjdk.java.net/jfx/138/webrev.05-06
Stats: 3 lines in 1 file changed: 0 ins; 3 del; 0 mod
Patch: https://git.openjdk.java.net/jfx/pull/138.diff
Fetch: git fetch https://git.openjdk.java.net/jfx pull/138/head:pull/138
PR: https://git.openjdk.java.net/jfx/pull/138
More information about the openjfx-dev
mailing list