> 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: test fix ------------- Changes: - all: https://git.openjdk.org/jdk/pull/10409/files - new: https://git.openjdk.org/jdk/pull/10409/files/e42f2afd..b70c6ad7 Webrevs: - full: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=02 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=10409&range=01-02 Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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