[Rev 01] RFR: 8241710: NullPointerException while entering empty submenu with "arrow right"

Ajit Ghaisas aghaisas at openjdk.java.net
Tue Apr 7 11:40:09 UTC 2020


> Bug : https://bugs.openjdk.java.net/browse/JDK-8241710
> 
> Root Cause : A menu can have empty submenu. This was not checked while processing RIGHT arrow key.
> 
> Fix : Added the null check for submenu. Added a unit test case which fails without fix and passes with it.

Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision:

  Minor review fixes

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

Changes:
  - all: https://git.openjdk.java.net/jfx/pull/161/files
  - new: https://git.openjdk.java.net/jfx/pull/161/files/dbb56031..aecc69c3

Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/161/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/161/webrev.00-01

  Stats: 15 lines in 2 files changed: 1 ins; 0 del; 14 mod
  Patch: https://git.openjdk.java.net/jfx/pull/161.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/161/head:pull/161

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


More information about the openjfx-dev mailing list