On Fri, 13 Mar 2026 18:06:48 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Hi @mrserb thank you for your time.
>> 
>> Yes I tried to add a verification test on this case but not succeed, same 
>> discussed with Alexey. Though `addInvalidComponent` and 
>> `removeInvalidComponent` methods are public, I could not find a way to add 
>> `Components` into `invalidComponents ArrayList`  and there is no way to 
>> check the size of `ArrayList` before and after add/removal. 
>> 
>> If you have any better solution please let me know .
>> 
>> Regards,
>> Renjith.
>
>>Yes I tried to add a verification test on this case but not succeed,
> 
> It should be possible: if two invalid but equal components are added to the 
> RepaintManager and one of them is incorrectly removed, you can trigger 
> validateInvalidComponents so that only the component still stored in the 
> RepaintManager will be validated.

@mrserb Are we good to integrate? Do you have any other comments?

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

PR Comment: https://git.openjdk.org/jdk/pull/30184#issuecomment-4155629726

Reply via email to