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.
Summary: | Deadlock occurred | ||
---|---|---|---|
Product: | editor | Reporter: | Jan Lahoda <jlahoda> |
Component: | Code folding | Assignee: | issues@java <issues> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | issues |
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | Sun | ||
OS: | SunOS | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Full Thread Dump. |
Description
Jan Lahoda
2004-07-15 09:44:35 UTC
Created attachment 16262 [details]
Full Thread Dump.
Seems to be caused by code folding. In addition, the code folding is performing JMI calls in the AWT thread which should be avoided if possible. The use of AWT is intentional as there are likely non-default fold settings so the async creation could cause flickering. However the rule of first locking the MDR then documents will require to post the fold creation to RP even in such case. I'll make the change and test the behavior. Fixed in main trunk: Checking in src/org/netbeans/modules/editor/java/NbJavaFoldManager.java; /cvs/editor/src/org/netbeans/modules/editor/java/NbJavaFoldManager.java,v <-- NbJavaFoldManager.java new revision: 1.5; previous revision: 1.4 One more fix is necessary. Additional fix in main trunk: Checking in src/org/netbeans/modules/editor/java/NbJavaFoldManager.java; /cvs/editor/src/org/netbeans/modules/editor/java/NbJavaFoldManager.java,v <-- NbJavaFoldManager.java new revision: 1.6; previous revision: 1.5 *** Issue 46528 has been marked as a duplicate of this issue. *** . |