> 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 two additional commits since the last revision: - Test fix - Take care of integer overflow in setSelectionInterval ------------- Changes: - all: https://git.openjdk.org/jdk/pull/10409/files - new: https://git.openjdk.org/jdk/pull/10409/files/94fdf905..e42f2afd Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=01 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=00-01 Stats: 99 lines in 3 files changed: 59 ins; 39 del; 1 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
