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 27765 - Deadlock in LookNode
Summary: Deadlock in LookNode
Status: VERIFIED FIXED
Alias: None
Product: contrib
Classification: Unclassified
Component: Looks (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Hrebejk
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2002-10-03 13:39 UTC by David Strupl
Modified: 2008-11-18 11:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (13.04 KB, text/plain)
2002-10-03 13:40 UTC, David Strupl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Strupl 2002-10-03 13:39:42 UTC
LookNode revision 1.5.6.15.

in getCookie this causes deadlock:

            // Ask the Looks for additional cookies
            synchronized( this ) {
                Object c = getFirer ().getCookie
(type);
                return c instanceof Node.Cookie ?
(Node.Cookie)c : null;
            }
Will attach thread dump.
Comment 1 David Strupl 2002-10-03 13:40:58 UTC
Created attachment 7586 [details]
Thread dump
Comment 2 _ ttran 2002-10-10 22:12:48 UTC
Where is the THREAD keyword?
Comment 3 Petr Hrebejk 2002-12-08 17:29:05 UTC
Fixed in the branch looks_jul_2002_private. LookNode does not have the
getCookie method anymore. It uses the default implementation in Node
which delegates the call to Node's lookup.
Comment 4 David Strupl 2003-07-11 16:09:57 UTC
x