RFR: 8271474: Tree-/TableCell: inconsistent edit event firing pattern

Ajit Ghaisas aghaisas at openjdk.java.net
Fri Sep 24 11:57:53 UTC 2021


On Tue, 7 Sep 2021 14:53:50 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> this PR fixes the inconsistent event firing pattern in cell's xxEdit methods (please see the issue for more details):
> 
> - fires event if column != null
> - accesses table state if table != null
> 
> The first requires a change in CellEditEvent which now allows null table in its constructor.
> 
> Added tests that failed/passed before/after the fix (along with some that also passed before for complete coverage of state permutations). Changed two old test methods which passed/failed before/after the fix - but did test the wrong thingy anyway ;)

Marked as reviewed by aghaisas (Reviewer).

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

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


More information about the openjfx-dev mailing list