RFR: 8256397: MultipleSelectionModel throws IndexOutOfBoundException [v4]

Michael Strauß mstrauss at openjdk.org
Sat Jul 2 02:35:50 UTC 2022


On Wed, 22 Jun 2022 09:48:14 GMT, Florian Kirmaier <fkirmaier at openjdk.org> wrote:

>> Fixing IndexOutOfBoundsException in the MultipleSelectionModelBase and added a unit-test for it.
>> ticket: https://bugs.openjdk.java.net/browse/JDK-8256397
>> run test: `./gradlew --continue -PFULL_TEST=true controls:test --tests "*MultipleSelectionModelImplTest*"`
>
> Florian Kirmaier has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains three commits:
> 
>  - Merge remote-tracking branch 'origjfx/master' into JDK-8256397
>    
>    # Conflicts:
>    #	modules/javafx.controls/src/test/java/test/javafx/scene/control/MultipleSelectionModelImplTest.java
>  - JDK_8256397
>    Added a small test-factory, to test more cases
>  - 8256397
>    Fixing IndexOutOfBoundsException in the MultipleSelectionModelBase and added a unit-test for it.

modules/javafx.controls/src/test/java/test/javafx/scene/control/MultipleSelectionModelImplTest.java line 1452:

> 1450: 
> 1451:     @Test
> 1452:     public void test_8256397() throws InterruptedException {

This test should probably get a meaningful name.

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

PR: https://git.openjdk.org/jfx/pull/353


More information about the openjfx-dev mailing list