On Wed, 11 Mar 2026 20:30:37 GMT, Sergey Bylokhov <[email protected]> wrote:

>> Hi Reviewers,
>> 
>> I have updated the method with `for loop` and `==` so the code will mach 
>> with `addInvalidComponent`
>> 
>> Please review and let me know your suggestions
>
> Is it possible to cover the patch by the new test?

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.

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

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

Reply via email to