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 122319 - When closing project, it's artificial libraries should be released
Summary: When closing project, it's artificial libraries should be released
Status: RESOLVED WORKSFORME
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: Sun All
: P4 blocker (vote)
Assignee: Alexander Simon
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-19 18:01 UTC by Vladimir Kvashin
Modified: 2010-04-28 11:17 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-19 18:01:26 UTC
I experienced the following situation:
- IDE was closed with 2 projects opened, Boost and some small project.
- Upon IDE restart, Boost started to parse (the persistence was cleaned between sessions)
- I closed Boost
- I realized that class view contains an artificial library that corresponds to boost 
(The IDE was started with -J-Dcnd.classview.sys-includes=true flag, so the class view showed artificial libraries)
This occurred on the 4-CPU server.
Comment 1 Vladimir Kvashin 2007-11-19 18:03:36 UTC
I believe that's because when closing project, we
1) clear parser queue
2) wait until already started parses finish
3) do the rest project closure work
But (1) can end up with scheduling parse for some #included files
This is just my guess.
Comment 2 nnnnnk 2009-09-29 11:53:33 UTC
It's still reproducible.
Also after project closing "Scanning projects" task still stays in status bar.
Comment 3 Vladimir Voskresensky 2010-04-28 11:17:54 UTC
in fact it works :-)