Bug 6690 - CodeAssist finds types outside the classpath
Summary: CodeAssist finds types outside the classpath
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: Other other
: P3 normal (vote)
Target Milestone: 2.0 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-12-07 16:22 EST by Philipe Mulet CLA
Modified: 2002-01-14 10:37 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Philipe Mulet CLA 2001-12-07 16:22:17 EST
Build 20011206

CodeAssist provides type completions outside the classpath of a given project 
as soon as this project prereqs other projects. You will get types defined in 
prereqs of these prereq projects.

e.g. Create on project P prerequisiting org.eclipse.jdt.core, it will 
automatically have access to IResource, even though it is not on the classpath 
of P.
Comment 1 Jerome Lanneluc CLA 2001-12-09 11:43:51 EST
Fixed by creating (in SearchableEnvironment) a search scope including all 
package fragment roots of the project instead of the project and its required 
projects.