Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 415857

Summary: Regression caused by fix for ResourceLookup.selectFile(...) causes deadlocks during project builds
Product: [Tools] CDT Reporter: Markus Schorn <mschorn.eclipse>
Component: cdt-coreAssignee: Markus Schorn <mschorn.eclipse>
Status: RESOLVED FIXED QA Contact: Doug Schaefer <cdtdoug>
Severity: normal    
Priority: P3 CC: bbelyavsky, eclipse.sprigogin, Jesse.Weinstein, marcin.swiezawski, yevshif
Version: 8.2   
Target Milestone: 8.2.1   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Bug Depends on: 405511    
Bug Blocks:    

Description Markus Schorn CLA 2013-08-26 07:41:07 EDT
Fix for Bug #405511 causes a regression:

When more than two files of the preferred project are passed to ResourceLookup.selectFile(IFile[]), then it is no longer checked whether one of the files is a link or not.
Comment 1 Markus Schorn CLA 2013-08-26 09:05:02 EDT
I have changed the fix, such that the following criteria hold:
* When the input to selectFiles contains at least one file of the preferred project, then no project description for other projects will be requested.
* However, if the input contains multiple files of the preferred project the project description of the preferred project is used.