On Sat, 29 Aug 2026 12:20:13 GMT, Philemon Hilscher <[email protected]> wrote:

>> This fixes the issue adressed here 
>> https://bugs.openjdk.org/browse/JDK-8222454
>> 
>> The added TreeTableViewTests were failing without the main code changes. I 
>> added the other tests to ensure the consistent functionality of related cell 
>> based components.
>> The method getItemCount() needed to be moved to CellBehaviorBase to do the 
>> necessary index check in doSelect() below. All subclasses now implement this 
>> method based on the cell container.
>> 
>> There is still some refactoring potential here, to reduce code duplications 
>> and ensure consistent behavior of all cell based components. This could be 
>> done in a follow-up PR.
>> 
>> - [x] I confirm that I make this contribution in accordance with the 
>> [OpenJDK Interim AI Policy](https://openjdk.org/legal/ai).
>
> Philemon Hilscher has updated the pull request incrementally with one 
> additional commit since the last revision:
> 
>   8222454: Review fixes
>   
>   Signed-off-by: Philemon Hilscher <[email protected]>

Looks good!

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

Marked as reviewed by mhanl (Reviewer).

PR Review: https://git.openjdk.org/jfx/pull/2129#pullrequestreview-5127046672

Reply via email to