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 189840

Summary: PathLookup is not reliable
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 157767    

Description Martin Entlicher 2010-08-25 13:01:12 UTC
PathLookup takes the original recursive lookup result. It checks for subfolders and truncates the resulting items when a subfolder appears.
But in reality, files in the path we're interested in does not have to be among the first items. They can be among the other folders.

As a result, not all registered items are returned by PathLookup.

We need to scan the whole lookup result to retrieve all files under the given path.
Comment 1 Martin Entlicher 2010-08-26 13:35:33 UTC
Fixed in changeset:   176429:8078352ee21a
http://hg.netbeans.org/main/rev/8078352ee21a
Comment 2 Quality Engineering 2010-08-27 03:16:13 UTC
Integrated into 'main-golden', will be available in build *201008270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/8078352ee21a
User: mentlicher@netbeans.org
Log: #189840 Process all lookup items to get the ones just under the given path.