<AWT Dev> RFR: 6278172: TextComponent.getSelectedText() throws StringIndexOutOfBoundsException [v2]

Alexey Ivanov aivanov at openjdk.java.net
Thu Jan 7 20:14:07 UTC 2021


On Thu, 7 Jan 2021 20:10:07 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:

>> Sergey Bylokhov has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains three additional commits since the last revision:
>> 
>>  - Merge branch 'master' into JDK-6278172
>>  - Merge branch 'master' into JDK-6278172
>>  - Initial fix
>
> Marked as reviewed by aivanov (Reviewer).

I wonder how native text components behave: is the selection preserved when text is replaced?

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

PR: https://git.openjdk.java.net/jdk/pull/1104


More information about the awt-dev mailing list