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 40819 - Deadlock in WeakListenersTest.setUp
Summary: Deadlock in WeakListenersTest.setUp
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 4.x
Hardware: PC Linux
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords: TEST, THREAD
Depends on:
Blocks:
 
Reported: 2004-03-07 21:25 UTC by Jesse Glick
Modified: 2008-12-22 21:54 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Thread dump (2.68 KB, text/plain)
2004-03-07 21:25 UTC, Jesse Glick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jesse Glick 2004-03-07 21:25:00 UTC
Not sure if it is reproducible or not. Had to kill
the test.
Comment 1 Jesse Glick 2004-03-07 21:25:29 UTC
Created attachment 13860 [details]
Thread dump
Comment 2 Jaroslav Tulach 2004-03-08 13:33:16 UTC
"#40819: I really cannot imaging many things why the test could end up
in such starvation. The only thing is that there were two threads
waiting for the same lock and not the right one was wakened up. In
such case let's try notifyAll(), but otherwise I really do not know."

Checking in WeakListenersTest.java;
/cvs/openide/test/unit/src/org/openide/util/WeakListenersTest.java,v 
<--  WeakListenersTest.java
new revision: 1.6; previous revision: 1.5
Comment 3 Marian Mirilovic 2005-12-20 15:51:19 UTC
This issue was solved long time ago. Because nobody has reopened it neither
added comments, we are verifying/closing it now. 
If you are still able to reproduce the problem, please reopen. Thanks in advance.