This deadlock happened to me on Windows 2000 in JDK
1.4.0_01-b03 on my private build of sources checked out on
1. In the sample project, I expanded the sources node.
2. Under examples, I created a new Java file from the
3. The deadlock in the attachment occurred.
Comment 2Vitezslav Stejskal
2002-10-22 11:20:42 UTC
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.
Comment 3Vitezslav Stejskal
2002-10-22 11:21:58 UTC
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