[OpenJDK 2D-Dev] RFR: 8262446: DragAndDrop hangs on Windows [v2]

Dmitry Markov dmarkov at openjdk.java.net
Fri Mar 5 16:06:21 UTC 2021

On Fri, 5 Mar 2021 12:53:00 GMT, Dmitry Markov <dmarkov at openjdk.org> wrote:

>>> Why we cannot reuse the old flag? "isInDoDragDropLoop"? I think the Robot.waitForIdle() will hang if isInDoDragDropLoop is not set to true while dragging something from the native app.
>> Initially I didn’t want to touch that flag but after a closer look to “isInDoDragDropLoop” I think it is OK to reuse the flag. I will update PR shortly.
>> @dmarkov20
>> I'd like to confirm this issue was not fixed by [JDK-8261231](https://bugs.openjdk.java.net/browse/JDK-8261231) #2448 ?
> That's right. This one and JDK-8261231 are two different issues. It is expected that the changes for JDK-8261231 do not fix this.

I have update the fix: reuse isInDoDragDropLoop flag instead of introducing a new one.
@mrserb @aivanov-jdk 
Could you take a look, please?


PR: https://git.openjdk.java.net/jdk/pull/2825

More information about the 2d-dev mailing list