[Integrated] RFR: 8244418: MenuBar: IOOB exception on requestFocus on empty bar

Ajit Ghaisas aghaisas at openjdk.java.net
Tue Jun 16 10:16:02 UTC 2020


On Fri, 8 May 2020 12:21:48 GMT, Ajit Ghaisas <aghaisas at openjdk.org> wrote:

> Issue :
> https://bugs.openjdk.java.net/browse/JDK-8244418
> 
> Root Cause :
> Incorrect assumption about menu list size.
> 
> Fix :
> Added check for empty menu list before trying to access it.
> 
> Test :
> Added a unit test that fails before fix and passes after it.

This pull request has now been integrated.

Changeset: fb962ac2
Author:    Ajit Ghaisas <aghaisas at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/fb962ac2
Stats:     57 lines in 3 files changed: 3 ins; 41 del; 13 mod

8244418: MenuBar: IOOB exception on requestFocus on empty bar

Reviewed-by: fastegal, kcr

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

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


More information about the openjfx-dev mailing list