<Swing Dev> [8] Review request for 6505523: NullPointerException in BasicTreeUI when a node is removed by expansion listener
Alexander Scherbatiy
alexandr.scherbatiy at oracle.com
Thu Dec 15 12:17:48 UTC 2011
Hello,
Could you review the fix for the issue:
6505523 NullPointerException in BasicTreeUI when a node is removed by
expansion listener
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6505523
The webrev is http://cr.openjdk.java.net/~alexsch/6505523/webrev.00
The fix checks that the path bounds do not become null for the
isActualPath() method between actions: mouse pressed, tree node deleted,
mouse released.
The bounds are also checked in the ensureRowsAreVisible() method in the
same way as it fixed for the issue
4909150 WindowsTreeUI can cause NullPointerException occasionally
http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4909150
Thanks,
Alexandr.
More information about the swing-dev
mailing list