RFR: 8256289: java/awt/Focus/AppletInitialFocusTest/AppletInitialFocusTest1.java failed with "RuntimeException: Wrong focus owner: java.awt.Button[button1,41,36,56x23,label=Button1]" [v2]
Harshitha Onkar
honkar at openjdk.org
Tue Sep 9 18:04:13 UTC 2025
On Tue, 9 Sep 2025 04:08:48 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Test used to fail earlier with above message.
>> Execution of the test didn't cause any failure in recent run of this test for several iterations as seen in job listed in JBS so deproblemlisting
>
> Prasanta Sadhukhan has updated the pull request incrementally with one additional commit since the last revision:
>
> Rename applet test
LGTM apart from minor rename suggestion.
test/jdk/java/awt/Focus/FrameInitialFocusTest/FrameInitialFocusTest.java line 66:
> 64: Util.waitForIdle(robot);
> 65: if (!button.hasFocus()) {
> 66: throw new RuntimeException("Appletviewer doesn't set default focus correctly.");
AppletViewer => Frame ?
-------------
Marked as reviewed by honkar (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27136#pullrequestreview-3202703456
PR Review Comment: https://git.openjdk.org/jdk/pull/27136#discussion_r2334374645
More information about the client-libs-dev
mailing list