RFR: 8283509: Invisible menus can lead to IndexOutOfBoundsException
Ajit Ghaisas
aghaisas at openjdk.java.net
Tue Mar 29 09:26:54 UTC 2022
On Tue, 22 Mar 2022 14:42:07 GMT, Robert Lichtenberger <rlichten at openjdk.org> wrote:
> findSibling adapted to only use visible menus when calculating the
> index.
Have you considered keeping the same while loop in findSibling() method and skipping invisible Menus in it?
This is to avoid creating and traversing a new list.
-------------
PR: https://git.openjdk.java.net/jfx/pull/759
More information about the openjfx-dev
mailing list