On Tue, 26 Aug 2025 04:57:26 GMT, Anass Baya <ab...@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

Reply via email to