RFR: 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails [v10]
Alexey Ivanov
aivanov at openjdk.org
Thu Jan 19 19:53:40 UTC 2023
On Mon, 31 Oct 2022 08:59:31 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> 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.
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Review fix
The CSR was approved two days ago, yet the bots didn't update the status of the issue. It should be ready for integration.
-------------
PR: https://git.openjdk.org/jdk/pull/10409
More information about the client-libs-dev
mailing list