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 121132

Summary: Rewrite required units timestamp check (RepositoryTranslatorImpl)
Product: cnd Reporter: Vladimir Kvashin <vkvashin>
Component: Code ModelAssignee: Vladimir Kvashin <vkvashin>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P4    
Version: 6.x   
Hardware: Sun   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on: 127727    
Bug Blocks:    

Description Vladimir Kvashin 2007-11-04 21:51:19 UTC
The RepositoryTranslatorImpl class that performs required units creation timestamp check has very error-prone code. In
particular, these time stamps are stored in 3 (!) places (in memory):
1) in IntToStringTable corresponding to each unit
2) in unit2timestamp map
3) in RequiredUnit instances that reside in unit2requnint map
Upon shutdown, these timestamps are stored multiple times into master index:
1) For each unit time stamp is stored
2) For each unit, when writing the list of its required units, timestamp is written too
Comment 1 Quality Engineering 2009-12-21 06:41:04 UTC
This bug was reported against NetBeans IDE 6.0 or an older release, or against a non-maintained module. NetBeans team does not have enough resources to get to this issue, therefore we are closing the issue as a WONTFIX. If you are interested in providing a patch for this bug, please see our NetFIX guidelines for how to proceed. 

We apologize for any inconvenience.


Thank you.
The NetBeans Team