JDK-4187912 : Win32: not calling dropComplete() causes application to hang
  • Type: Bug
  • Component: client-libs
  • Sub-Component: java.awt
  • Affected Version: 1.2.0,1.2.1
  • Priority: P3
  • Status: Closed
  • Resolution: Fixed
  • OS: solaris_2.6,windows_nt
  • CPU: generic,x86
  • Submitted: 1998-11-06
  • Updated: 2001-02-22
  • Resolved: 2000-12-13
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
Other
1.4.0 betaFixed
Related Reports
Relates :  
Description
On win NT, drag-n-drop text from app1 to app2, dnd works fine, but app1 appears to hang afterwards - you can't drag again from app1. However, if you dnd text from app2 to app1, app1 responses and receives data, then dnd from app1 is resumed to work. The problem happens when no dropTargetContext.dropComplete() is invoked in the target.
  
The test case in: /home/tinasu/ws/Drag-n-Drop/SmallTests/TestText/bug4187912 demonstrates the problem.

=====
Test case is now attached to this bug report.
david.mendenhall@eng 2000-07-31

Comments
CONVERTED DATA BugTraq+ Release Management Values COMMIT TO FIX: merlin-beta FIXED IN: merlin-beta INTEGRATED IN: merlin-beta VERIFIED IN: merlin-beta
14-06-2004

EVALUATION ----------------------------------------------------------------------------- jethro@eng 16Feb99 The test case does not call dropTargetContext.dropComplete() when the transfer flavor is stringFlavor. Adding a dropComplete(true) call fixes the problem However, this is still a bug - the API should never hang the app like this. We should somehow catch this condition and recover. For the time being, I think that the red and yellow flags should be removed from this bug and it should be downgraded for future evaluation. Probably a new bug should be filed, regarding the case where not calling dropComplete() causes a hang. ---------------------------------------------------------------------------- Still reproducible with Kestrel FCS N. This must be different from the other deadlock issues which were fixed under BugId 4269666. david.mendenhall@eng 1999-11-09 Still reproducible with merlin build 25. david.mendenhall@eng 2000-08-01 This bug has been fixed by the merlin DnD rewrite. david.mendenhall@east 2000-12-13
09-11-1999