On Mon, 15 Sep 2025 17:13:32 GMT, Phil Race <[email protected]> wrote:

>> Prasanta Sadhukhan has updated the pull request incrementally with one 
>> additional commit since the last revision:
>> 
>>   Check for failure in 1st frame activation
>
> test/jdk/java/awt/Focus/ActivateFocusTest.java line 57:
> 
>> 55:             boolean testFailed = false;
>> 56:             for (int i = 0; i < NUM_FRAMES; i++) {
>> 57:                 testFailed = (af[i].lw.focusCounter > 1);
> 
> I don't understand this code. If the first one fails, and the second one 
> passes it will pass the test when I presume it should have failed it.

@prrace @honkar-jdk Any more comments on this?

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

PR Review Comment: https://git.openjdk.org/jdk/pull/27214#discussion_r2357454747

Reply via email to