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 203187 - Deadlock in whitelist lookup
Summary: Deadlock in whitelist lookup
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 7.1
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords: THREAD
Depends on:
Blocks:
 
Reported: 2011-10-06 06:30 UTC by Tomas Zezula
Modified: 2011-10-07 14:39 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Deadlock (6.85 KB, text/plain)
2011-10-06 06:30 UTC, Tomas Zezula
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Zezula 2011-10-06 06:30:51 UTC
Created attachment 111573 [details]
Deadlock

The deadlock was introduced by some deadlock fix.
Comment 1 Tomas Zezula 2011-10-06 06:34:00 UTC
Both the WhiteListLookup and DelegatingLookupImpl are evil as they call third party code under private lock.
So I am going to resolve the problem in the WhiteListLookup by weak consistency in idempotent call. The same should be probably done in DelegatingLookupImpl.
Comment 2 Tomas Zezula 2011-10-06 07:25:52 UTC
Fixed jet-main 3c49cd0977fb
Comment 3 Quality Engineering 2011-10-07 14:39:23 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/3c49cd0977fb
User: Tomas Zezula <tzezula@netbeans.org>
Log: #203187:Deadlock in whitelist lookup