[jfx21u] Integrated: 8330462: StringIndexOutOfBoundException when typing anything into TextField

2024-05-15 Thread Jose Pereda
On Wed, 15 May 2024 16:20:04 GMT, Jose Pereda wrote: > Hi all, > > This pull request contains a backport of commit > [d3da033a](https://github.com/openjdk/jfx/commit/d3da033a2dd5c287733545935242a8d1f71c0554) > from the [openjdk/jfx](https://git.openjdk.org/jfx) repository. > > The commit bein

[jfx22u] Integrated: 8330462: StringIndexOutOfBoundException when typing anything into TextField

2024-05-13 Thread Ambarish Rapte
On Mon, 13 May 2024 09:36:39 GMT, Ambarish Rapte wrote: > The backport is almost clean. > While cherry picking the mainline commit, a minor merge conflict was shown in > a the file `tests/system/src/test/.classpath` : The mainline file has a few > additional exports compared to 22u. > > Test p

Integrated: 8330462: StringIndexOutOfBoundException when typing anything into TextField

2024-05-08 Thread Oliver Kopp
On Thu, 18 Apr 2024 12:01:52 GMT, Oliver Kopp wrote: > Fixes https://bugs.openjdk.org/browse/JDK-8330462. > > If the parameter `maxLength` is larger than `Integer.MAX_VALUE - start`, then > an addition of `start` to it leads to a negative value. This is "fixed" by > using `Math.max` comparing