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

Summary: Codemodel gets info about preprocessor definitions from project system only first time
Product: cnd Reporter: Alexander Ioffe <aioffe>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: VERIFIED FIXED    
Severity: blocker    
Priority: P1    
Version: 6.x   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

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