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 - OpenProjectList should not have a visible lock
Summary: OpenProjectList should not have a visible lock
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Projects UI (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: Jesse Glick
URL: https://netbeans.org/bugzilla/attachm...
Keywords: THREAD
Depends on:
Blocks: 183632 193579
  Show dependency tree
 
Reported: 2010-04-08 01:27 UTC by Jesse Glick
Modified: 2011-01-17 13:31 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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: