RFR: 8361067: Test ExtraButtonDrag.java requires frame.dispose in finally block [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Mon Jul 7 06:34:45 UTC 2025
On Mon, 7 Jul 2025 06:26:29 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:
>> Ravi Gupta has updated the pull request incrementally with one additional commit since the last revision:
>>
>> 8361067: EventQueue.invokeAndWait used
>
> test/jdk/java/awt/Mouse/MouseModifiersUnitTest/ExtraButtonDrag.java line 55:
>
>> 53:
>> 54: public static void main(String []s) throws InvocationTargetException, InterruptedException, AWTException{
>> 55: frame = new ExtraButtonDrag();
>
> please use robot.waitForIdle before robot.delay after frame is set visible..
Call frame AWT API within EDT as you are doing for disposeFrame
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26043#discussion_r2189090966
More information about the client-libs-dev
mailing list