RFR: JDK-8371365 : Update javax/swing/JFileChooser/bug4759934.java to use Util.findComponent() [v2]
Harshitha Onkar
honkar at openjdk.org
Wed Nov 12 18:00:15 UTC 2025
On Fri, 7 Nov 2025 20:13:45 GMT, Alexey Ivanov <aivanov at openjdk.org> wrote:
>> I believe the test hangs after - dialogBtn.doClick() and does not proceed to the test condition check. I'll need to check in depth as to why this is happening.
>>
>>> I see… It may be not worth the effort then.
>>
>> I can create a separate JBS issue to look into it and as for the test changes use the doClick() for just the JFC's Cancel button. Does this sound good to you?
>
>> Does this sound good to you?
>
> This is likely the best approach.
>
> It's a new problem that we discovered. It doesn't prevent integrating the change to search for the Cancel button in the file chooser, yet it would be good to investigate what goes wrong when all the buttons are clicked programmatically instead of using the robot to generate mouse clicks.
Created a new JBS to track the doClick() issue - [JDK-8371728](https://bugs.openjdk.org/browse/JDK-8371728)
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/28169#discussion_r2519271550
More information about the client-libs-dev
mailing list