RFR: 6850365: java/awt/Focus/ActivateFocusTest.java fails [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Sep 18 04:08:33 UTC 2025
On Mon, 15 Sep 2025 17:13:32 GMT, Phil Race <prr at openjdk.org> 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
More information about the client-libs-dev
mailing list