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

Summary: Deadlock in whitelist lookup
Product: java Reporter: Tomas Zezula <tzezula>
Component: ProjectAssignee: Tomas Zezula <tzezula>
Status: RESOLVED FIXED    
Severity: normal Keywords: THREAD
Priority: P2    
Version: 7.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Attachments: Deadlock

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