On Fri, 23 Sep 2022 13:19:01 GMT, Prasanta Sadhukhan <[email protected]> wrote:
> 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. This pull request has now been integrated. Changeset: c2ebd179 Author: Prasanta Sadhukhan <[email protected]> URL: https://git.openjdk.org/jdk/commit/c2ebd179388cac5d6e10f98aab9a7ea909f8bc6b Stats: 111 lines in 2 files changed: 103 ins; 0 del; 8 mod 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails Co-authored-by: Alexey Ivanov <[email protected]> Reviewed-by: aivanov ------------- PR: https://git.openjdk.org/jdk/pull/10409
