> 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 the `maxLength` and `maxLength + start`.

Oliver Kopp has updated the pull request incrementally with one additional 
commit since the last revision:

  Streamline WinTextRangeProviderTest
  
  Source: https://github.com/openjdk/jfx/pull/1442#pullrequestreview-2035329983

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1442/files
  - new: https://git.openjdk.org/jfx/pull/1442/files/45a56c6f..d03bdd40

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jfx&pr=1442&range=25
 - incr: https://webrevs.openjdk.org/?repo=jfx&pr=1442&range=24-25

  Stats: 28 lines in 1 file changed: 1 ins; 19 del; 8 mod
  Patch: https://git.openjdk.org/jfx/pull/1442.diff
  Fetch: git fetch https://git.openjdk.org/jfx.git pull/1442/head:pull/1442

PR: https://git.openjdk.org/jfx/pull/1442

Reply via email to