[Rev 01] RFR: 8244418: MenuBar: IOOB exception on requestFocus on empty bar
    Ajit Ghaisas 
    aghaisas at openjdk.java.net
       
    Tue May 12 12:27:11 UTC 2020
    
    
  
> 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.
Ajit Ghaisas has updated the pull request incrementally with one additional commit since the last revision:
  review_fixes
-------------
Changes:
  - all: https://git.openjdk.java.net/jfx/pull/216/files
  - new: https://git.openjdk.java.net/jfx/pull/216/files/d37f9c14..15c4de98
Webrevs:
 - full: https://webrevs.openjdk.java.net/jfx/216/webrev.01
 - incr: https://webrevs.openjdk.java.net/jfx/216/webrev.00-01
  Stats: 12 lines in 1 file changed: 1 ins; 5 del; 6 mod
  Patch: https://git.openjdk.java.net/jfx/pull/216.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/216/head:pull/216
PR: https://git.openjdk.java.net/jfx/pull/216
    
    
More information about the openjfx-dev
mailing list