-
Bug
-
Resolution: Fixed
-
P3
-
8, 9, 10
-
None
-
b23
-
generic
-
generic
Each SunDropTargetEvent should be dispatched, because this event stop the ToolkitThreadBlockedHandler.
- The nested event loop is started before SunDropTargetEvent is created. See SunDropTargetContextPeer.postDropTargetEvent()
- The SunDropTargetEvent is posted with assumption that when it will be dispatched it will stop the nested event loop. See SunDropTargetContextPeer.unregisterEvent().
SunDropTargetEvent is a subclass of MouseEvent. The dispatch of MouseEvent can be skipped if this event will be coalesced or if the target component will be disposed.
The coalescing of the SunDropTargetEvent was fixed inJDK-7177144, but it is still possible to lose the SunDropTargetEvent if the target component wll be disposed after event was posted but before dispatch. This can cause a hang in DnD machinery.
- The nested event loop is started before SunDropTargetEvent is created. See SunDropTargetContextPeer.postDropTargetEvent()
- The SunDropTargetEvent is posted with assumption that when it will be dispatched it will stop the nested event loop. See SunDropTargetContextPeer.unregisterEvent().
SunDropTargetEvent is a subclass of MouseEvent. The dispatch of MouseEvent can be skipped if this event will be coalesced or if the target component will be disposed.
The coalescing of the SunDropTargetEvent was fixed in
- links to