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 20551

Summary: Deadlock
Product: java Reporter: David Strupl <dstrupl>
Component: UnsupportedAssignee: Svata Dedic <sdedic>
Status: CLOSED FIXED    
Severity: blocker    
Priority: P2    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Thread dump

Description David Strupl 2002-02-14 16:15:57 UTC
JDk1.3.1_02, NB3.3.1 FCS. Alt-O from editor. I am not sure whether it is java's
or editor's issue but you should not call requestFocus from unknown thread. Or
if this is in fact allowed you should persuade Dafe not to call anything
dangerous on focus change. Please reassign accordingly.

Will attach thread dump.
Comment 1 David Strupl 2002-02-14 16:18:01 UTC
Created attachment 4707 [details]
Thread dump
Comment 2 Svata Dedic 2002-02-15 08:12:46 UTC
I will change the OpenCookie impl to replan the open action into the
AWT thread. The cookie spec in OpenAPIs is silent about completness or
synchronization of the call.
Comment 3 Svata Dedic 2002-02-15 09:38:23 UTC
Fixed in trunk:

/cvs/java/src/org/netbeans/modules/java/JavaParserGlue.java,v  <-- 
JavaParserGlue.java
new revision: 1.30; previous revision: 1.29
Comment 4 Jan Chalupa 2002-04-09 12:11:34 UTC
Please consider applying the fix into the orion_fcs branch.
Comment 5 Jan Chalupa 2002-04-18 11:53:40 UTC
Fix integrated into orion_fcs (by Svata).
Comment 6 Jan Becicka 2002-06-12 09:05:13 UTC
VERIFIED
Comment 7 Quality Engineering 2003-07-01 13:15:44 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.