Bug 79288

Summary: Code assist offers types which are out of scope ==> compile errors
Product: [Eclipse Project] JDT Reporter: Dani Megert <daniel_megert>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 3.1 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Fix none

Description Dani Megert CLA 2004-11-23 10:07:26 EST
I200411230800

Test Case:
1. start fresh workspace
2. import plug-in org.eclipse.jdt.core as Binary project (not linked)
3. create new plug-in project P (enter name, click Next and click Finish)
4. add org.eclipse.jdt.core as pre-req into plugin.xml
5. open PPlugin.java
6. in the constructor code add a third line and type "DefaultL"
7. Ctrl+Space
==> DefaultLineTracker is suggested which is wrong.
8. Select it
==> errors: import cannot be resolved
Comment 1 David Audel CLA 2005-04-13 10:57:10 EDT
The JavaSearchScope of the SearchableEnvironment contains not exported entries
of required project.
Comment 2 David Audel CLA 2005-04-13 10:59:01 EDT
Created attachment 19867 [details]
Fix
Comment 3 David Audel CLA 2005-04-13 11:05:02 EDT
Fix released and test added
  CompletionTests2#testBug79288
Comment 4 Olivier Thomann CLA 2005-05-12 13:28:04 EDT
DefaultLineTracker is not offered anymore.
Verified in I20050510-0010 + JDT/Core v_556