> DefaultListSelectionModel.removeIndexInterva accepts `int` value which allows 
> it to take in Integer.MAX_VALUE theoratically but it does calculation with 
> that value which can results in IOOBE.
> Fix is to make sure the calculation stays within bounds.

Prasanta Sadhukhan has updated the pull request incrementally with one 
additional commit since the last revision:

  removeIndexInterval, insertIndexInterval fix

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/10409/files
  - new: https://git.openjdk.org/jdk/pull/10409/files/0c4b2846..ee02dc45

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=06
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=05-06

  Stats: 38 lines in 1 file changed: 21 ins; 5 del; 12 mod
  Patch: https://git.openjdk.org/jdk/pull/10409.diff
  Fetch: git fetch https://git.openjdk.org/jdk pull/10409/head:pull/10409

PR: https://git.openjdk.org/jdk/pull/10409

Reply via email to