<Swing Dev> [8] Review request for 8004298 NPE in	WindowsTreeUI.ensureRowsAreVisible
    Jaroslav Tulach 
    jaroslav.tulach at oracle.com
       
    Thu Jan 10 11:47:27 UTC 2013
    
    
  
Dne Čt 10. ledna 2013 15:41:39, Alexander Scherbatiy napsal(a):
> Hello,
> 
> Could you review the fix:
>    bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=8004298
>    webrev: http://cr.openjdk.java.net/~alexsch/8004298/webrev.00
> 
>    The getPathBounds() method can return null under certain circumstances.
>    The fix checks this before using the testRect variable.
Looks safer to me.
-jt
    
    
More information about the swing-dev
mailing list