On Mon, 30 Jun 2025 21:49:22 GMT, Ziad El Midaoui <zelmida...@openjdk.org> 
wrote:

> Fix for phantom disclosure nodes appearing when root is null

Hmm, I am not sure this is the right solution: remember, the tree works just 
fine if you change the root in the form of `TreeItem<>(new Entry(null))`, but 
breaks when you set `TreeItem<>(null)`.
 
This means one thing: the logic is there, but the `null` content of TreeItem 
messes it up.
 
Can you try one thing: run two instances of the app in the debugger side by 
side and step through the relevant parts of the code, until you find the 
difference?  I suspect some condition breaks when it encounters null.

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

PR Comment: https://git.openjdk.org/jfx/pull/1838#issuecomment-3024646184

Reply via email to