This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 21611 - During DnD deadlock on jdk1.3 and temp freeze on jdk1.4
Summary: During DnD deadlock on jdk1.3 and temp freeze on jdk1.4
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC Linux
: P1 blocker (vote)
Assignee: Peter Zavadsky
URL:
Keywords:
Depends on:
Blocks: 21610
  Show dependency tree
 
Reported: 2002-03-15 08:18 UTC by Peter Zavadsky
Modified: 2008-12-23 09:33 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2002-03-15 08:18:06 UTC
During Dnd there happens deadlock or temporary freeze of IDE (depending on the
jdk version used, seems the jdk1.4 just workarounds the problem using some
timeout). 
The deadlock and the freeze occures when during the DnD in process is accessed
clipboard from AWT thread.

Its happens very often, no problem to reproduce it.
Could provide stack trace if necessary (from jdk1.3 case).
Comment 1 Peter Zavadsky 2002-03-15 08:22:59 UTC
There seems to be the problem is accessing the clipboard during the
DnD in process from AWT thread.

Fix:
Javadoc to clipboard doesn't say anything about such restriction, so
I'm not sure about it.
But scheduling the accessing of clipboard outside of AWT (in
ExplorerActions and CloneableEditor) fixes the problem, neither
deadlock nor temp freeze occures again.
Comment 2 Marian Mirilovic 2004-03-01 08:52:35 UTC
issue doesn't apply to new window system - verified