RFR: 8361387 : Test bug4655513.java fails intermittently on Windows platform. [v3]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Tue Aug 26 05:04:34 UTC 2025
On Tue, 26 Aug 2025 04:57:26 GMT, Anass Baya <abaya at openjdk.org> wrote:
>> test/jdk/javax/swing/DataTransfer/bug4655513.java line 73:
>>
>>> 71: robot.delay(20);
>>> 72: }
>>> 73: robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK);
>>
>> mousePress parameter should be `InputEvent.BUTTON1_DOWN_MASK` instead which is usually the norm? mouseRelease is called correctly..
>> Also, I dont think we usually use delay between drag...guess once drag is complete, we can call waitForIdle and delay..
>
> Hello @prsadhuk,
> We need to add at least waitForIdle() before releasing the mouse button. Otherwise, the test will start failing again.
> KR,
OK..Can you please run the test with repeat count of atleast 50 on all platforms and share the result in JBS?
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/26824#discussion_r2299777102
More information about the client-libs-dev
mailing list