RFR: 6850365: java/awt/Focus/WindowActivationFocusTest.java fails [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Thu Sep 18 05:12:30 UTC 2025
On Thu, 18 Sep 2025 04:05:28 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> 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?
I renamed the test to WindowActivationFocusTest
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27214#discussion_r2357529034
More information about the client-libs-dev
mailing list