RFR: 8341281: Root TreeItem with null value breaks TreeTableView

Andy Goryachev angorya at openjdk.org
Wed Apr 16 14:30:04 UTC 2025


On Thu, 10 Apr 2025 12:41:44 GMT, Ziad El Midaoui <zelmidaoui at openjdk.org> wrote:

> When the Root TreeItem is set to null, need to relayout to show the children items

Good job, the fix seems to be working.

You can also try using the monkey tester to test various scenarios, I've updated it to include null values for root in the TreeTableViewPage and TreeViewPage
https://github.com/andy-goryachev-oracle/MonkeyTest

Could you also come up with a unit test(s) for the fix, that will fail in the master branch but pass with the fix, preferably a headless test?

Once you have the test, you can make this PR ready for review (RFR).

please ignore the failing pre-submit Windows test - we have an ongoing issue with the github actions (GHA), see https://bugs.openjdk.org/browse/JDK-8354337

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

PR Comment: https://git.openjdk.org/jfx/pull/1767#issuecomment-2794763780
PR Comment: https://git.openjdk.org/jfx/pull/1767#issuecomment-2794766429


More information about the openjfx-dev mailing list