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 87326 - *Code Model* internal code model maps should use canonical paths as key
Summary: *Code Model* internal code model maps should use canonical paths as key
Status: CLOSED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Code Model (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 12:35 UTC by Vladimir Voskresensky
Modified: 2008-01-11 13:35 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 Voskresensky 2006-10-17 12:35:56 UTC
Seems, we need canonical paths in maps as well as the only one uniq value of
File object.
Usecase:
files in code model are put in maps with absolute paths. The request for finding
files could have any format, but should return asked file.
Absolute paths could have ".." in path => when open in editor the file could be
not found. 
File opened in editor uses canonical(?) path.
Comment 1 Vladimir Voskresensky 2006-10-24 12:00:12 UTC
- refactored csm projects to use access-methods instead of 
- support for canocic names in maps
- managed by flag -J-Dcnd.modelimpl.use.canonical.path=true
Comment 2 Vladimir Voskresensky 2007-04-05 01:11:13 UTC
close this bug as fixed
"cnd.modelimpl.use.canonical.path=true" is the default mode for code model