[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: RFR: 6187113: DefaultListSelectionModel.removeIndexInterval(0, Integer.MAX_VALUE) fails [v9]
From:       Prasanta Sadhukhan <psadhukhan () openjdk ! org>
Date:       2022-10-31 8:59:32
Message-ID: bBtWfUYXD4r0vE98J9tjn-68Ubh6S7C2LjP6snfNUF0=.efe2b3ec-0ba3-46d7-97d0-97116e3e5710 () github ! com
[Download RAW message or body]

On Fri, 28 Oct 2022 03:32:18 GMT, Prasanta Sadhukhan <psadhukhan@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 two additional \
> commits since the last revision: 
> - Review fix
> - Review fix

CSR raised... https://bugs.openjdk.org/browse/JDK-8295329

-------------

PR: https://git.openjdk.org/jdk/pull/10409


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic