On Wed, 18 Mar 2026 14:36:39 GMT, Alexey Ivanov <[email protected]> wrote:

>>>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.
>
>> > 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.
> 
> You're right. The more I think about it, the surer I am that the issue can be 
> tested.

Thanks @aivanov-jdk for the guidance 

I have added a test for verifying this case and replaced `return` with `break` 
in source

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

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

Reply via email to