> 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 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 30 additional commits since the 
last revision:

 - Merge remote-tracking branch 'upstream/master' into patch-1
 - Switch from `@EnabledOnOS` to `assumeTrue`
 - Re-order for more clearness
 - Fix tests
 - Remove unused import
 - classpath
 - Fix JavaDoc formatting
 - Discard changes to modules/javafx.graphics/src/test/addExports
 - Add missing exports
 - Try to use StubToolkit
 - ... and 20 more: https://git.openjdk.org/jfx/compare/5d390712...527e1ecf

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

Changes:
  - all: https://git.openjdk.org/jfx/pull/1442/files
  - new: https://git.openjdk.org/jfx/pull/1442/files/ade506c0..527e1ecf

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

  Stats: 285 lines in 4 files changed: 188 ins; 62 del; 35 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