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 when creating a new Java file | ||
---|---|---|---|
Product: | contrib | Reporter: | Petr Jiricka <pjiricka> |
Component: | Looks | Assignee: | Petr Hrebejk <phrebejk> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | Keywords: | THREAD |
Priority: | P1 | ||
Version: | 3.x | ||
Hardware: | PC | ||
OS: | Windows ME/2000 | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
The thread dump with the deadlock
patch for CompositeLook.java |
Description
Petr Jiricka
2002-10-22 09:33:01 UTC
Created attachment 7732 [details]
The thread dump with the deadlock
It seems that deadlock occured between DecoratorSelector and CompositeLook. CompositeLook uses DO.getNodeDelegate to get annotated name of the FileObject defining its contents, this name is then used as a displayName of CompositeLook. Using DO.getNodeDelegate is overkill, moreover it takes o.o.util.Mutex lock. I am going to attach patch for it, please review and commit. Created attachment 7733 [details]
patch for CompositeLook.java
Could you Petre take a look at the attached patch ? All in all, this is P1. Well, the patch looks ok to me, however I don't feel I am the right person to ask. I don't understand looks. For example, I don't know at all what the getDisplayName() method is for. So I suggest someone else also looks at the fix. Looks like someone alredy applyied the patch, thus marking as fixed. (Thanks Vita) Verified. |