[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    Re: [Rev 01] RFR: 8176270: Adding ChangeListener to TextField.selectedTextProperty causes StringOutO
From:       Robert Lichtenberger <rlichten () openjdk ! java ! net>
Date:       2020-05-27 7:43:55
Message-ID: tTXeVtWli-xsWqp9yAfC318G7lQKLJQUkS9MCyAi1cA=.f189c11a-b9b6-4e22-9cfe-de614e27bfac () github ! com
[Download RAW message or body]

> 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  
  This fix will prevent the StringOutOfBoundsException by clearing the selection \
temporarily.

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/138/files
  - new: https://git.openjdk.java.net/jfx/pull/138/files/e78e8793..f5209e05

Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/138/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/138/webrev.00-01

  Stats: 46 lines in 3 files changed: 40 ins; 1 del; 5 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic