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 115574 - Codemodel gets info about preprocessor definitions from project system only first time
Summary: Codemodel gets info about preprocessor definitions from project system only f...
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-14 16:01 UTC by Alexander Ioffe
Modified: 2007-11-01 12:59 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 Alexander Ioffe 2007-09-14 16:01:12 UTC
Create Welcome project
type code
#ifdef TT
int aa;
#endif

int aa; -- is inactive code
go to project properties
add preprocessor definition TT=1
=> int aa; becomes active code. Highlighting is ok. aais shown in navigator...

Go to project properties. Delete definition.
=> Nothind changed. aa is still in model.

The same for definitions in file properties
Comment 1 Vladimir Kvashin 2007-09-16 18:50:18 UTC
Fixed:
APTSystemMacroMap.java	1.8
APTHandlersSupportImpl.java	1.5
APTSystemStorage.java	1.3
Comment 2 Alexander Ioffe 2007-11-01 12:59:55 UTC
Verified in build 31102007