> 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: Review comment to exclude MAX_VALUE ------------- Changes: - all: https://git.openjdk.org/jdk/pull/10409/files - new: https://git.openjdk.org/jdk/pull/10409/files/b70c6ad7..23d59222 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=03 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=02-03 Stats: 42 lines in 2 files changed: 26 ins; 11 del; 5 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