RFR: 8189354: ArrayIndexOutOfBoundsException when listening to selection changes on TreeTableView [v8]

mstr2 github.com+43553916+mstr2 at openjdk.java.net
Tue May 4 14:42:55 UTC 2021


On Mon, 3 May 2021 09:41:44 GMT, Ambarish Rapte <arapte at openjdk.org> wrote:

>> mstr2 has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Use MockListObserver
>
> modules/javafx.controls/src/test/java/test/javafx/scene/control/TreeViewTest.java line 3704:
> 
>> 3702:         observer.check1();
>> 3703:         observer.checkAddRemove(0, treeView.getSelectionModel().getSelectedItems(), List.of(c1, c2, c3), 1, 1);
>> 3704:     }
> 
> These test validate the getRemoved() list. I think we should also have a test for exception.

I think this is no longer part of this PR.

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

PR: https://git.openjdk.java.net/jfx/pull/480


More information about the openjfx-dev mailing list