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:29:17 GMT, Prasanta Sadhukhan <psadhukhan at openjdk.org> wrote:

>> 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

take a look at the spacing throughout the (like between the operator etc) file since anyway you are updating the test..

-------------

PR Review Comment: https://git.openjdk.org/jdk/pull/26043#discussion_r2189094090


More information about the client-libs-dev mailing list