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 120996 - Do not clean required unit list when closing implicitly opened repository units
Summary: Do not clean required unit list when closing implicitly opened repository units
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P3 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on: 127727
Blocks: 121415
  Show dependency tree
 
Reported: 2007-11-02 16:49 UTC by Vladimir Kvashin
Modified: 2008-03-27 23:32 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 Vladimir Kvashin 2007-11-02 16:49:15 UTC
Repository units that are implicitly opened are closed by timeout (10 sec. by default). When closing them by timeout, an
empty list is passed as required units parameter. This is incorrect. I believe the fix is to have a special call that
mean "leave the required units list as it"
Comment 1 Vladimir Kvashin 2007-11-02 16:52:41 UTC
No user-visible consequences were noticed, so I leave it as P3.
Comment 2 Vladimir Kvashin 2007-11-02 16:53:40 UTC
The code that does this is in 
o.n.m.c.modelimpl.repository.RepositoryListenerImpl
Comment 3 Vladimir Kvashin 2008-03-27 23:32:21 UTC
Fixed:
http://hg.netbeans.org/main/rev/dadb219c105b