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 183681

Summary: OpenProjectList should not have a visible lock
Product: projects Reporter: Jesse Glick <jglick>
Component: Generic Projects UIAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: normal Keywords: THREAD
Priority: P3    
Version: 6.x   
Hardware: PC   
OS: Linux   
URL: https://netbeans.org/bugzilla/attachment.cgi?id=96850
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 183632, 193579    

Description Jesse Glick 2010-04-08 01:27:01 UTC
OpenProjectList.getOpenProjects acquires a monitor: OpenProjectList. Yet OpenProjectList.close, which holds that monitor (and also acquires OpenProjectList.RecentProjectList), calls foreign code (ProjectInfo.getDisplayName) which might acquire locks of its own.
Comment 1 Jesse Glick 2010-05-05 23:31:24 UTC
Probably too risky for 6.9 to rewrite lock semantics of OPL. But should be safe to call the ProjectInformation methods outside of the lock. core-main #5f2e839e0833
Comment 2 Quality Engineering 2010-05-10 09:17:24 UTC
Integrated into 'main-golden', will be available in build *201005100200* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/
User: 
Log: