On Thu, 18 Sep 2025 17:19:56 GMT, Harshitha Onkar <[email protected]> wrote:
>> Prasanta Sadhukhan has updated the pull request incrementally with one
>> additional commit since the last revision:
>>
>> lambda Fix
>
> test/jdk/java/awt/Focus/InitialFocusTest/InitialFocusTest1.java line 69:
>
>> 67: // wait for the very very last focus event
>> 68: robot.delay(1000);
>> 69: if (app.button2 != focused) {
>
> Since it is object comparison is it better to use`
> !app.button2.equals(focused)`?
Although `!=` would work in this case since the intent is to compare the
referenced object.
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/27332#discussion_r2360441502