Bug 167743

Summary: [search] Open Type Dialog cannot find types from projects migrated from 3.2.1 workspace
Product: [Eclipse Project] JDT Reporter: Samantha Chan <chanskw>
Component: CoreAssignee: Frederic Fusier <frederic_fusier>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: dflachbart, folke.lemaitre, steve_northover
Version: 3.3   
Target Milestone: 3.3 M5   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed patch none

Description Samantha Chan CLA 2006-12-12 16:20:00 EST
Running I20061212

Steps to reproduce:
1.  With Eclipse 3.2.1, create a simple Java Project.  From the Java Project, create a simple class with just the main method.  (In my case, my simple class is called TestClass.)
2.  Shut down this copy of Eclipse.
3.  Start Eclipse 3.3 I20061212, select the workspace that was previously created from a 3.2.1 Eclipse.
4.  Use the Open Type Dialog to try to find the class that was created.  (I typed *TestClass in the dialog's filter.)

The dialog does not list TestClass as a matchint type after entering "*TestClass" in the filter.

Expected Result, the dialog should continue to find the class.
Comment 1 Martin Aeschlimann CLA 2006-12-15 16:40:12 EST
reproduced. No match is reported to the open type dialog.
Comment 2 Martin Aeschlimann CLA 2006-12-15 16:41:00 EST
*** Bug 167746 has been marked as a duplicate of this bug. ***
Comment 3 Frederic Fusier CLA 2006-12-16 12:37:18 EST
Problem is in fact with classes in default package fragment root. It seems that project creation did not add a source folder by default.

You get same problem in 3.3 M4 if you create a project without any source folder or with classes put in default package fragment root.
Comment 4 Frederic Fusier CLA 2006-12-17 12:18:53 EST
Created attachment 55833 [details]
Proposed patch
Comment 5 Frederic Fusier CLA 2006-12-17 12:20:55 EST
Released for 3.3 M5 in HEAD stream.
Comment 6 Frederic Fusier CLA 2006-12-19 11:03:49 EST
*** Bug 168555 has been marked as a duplicate of this bug. ***
Comment 7 Frederic Fusier CLA 2007-01-12 03:43:54 EST
*** Bug 169881 has been marked as a duplicate of this bug. ***
Comment 8 Frederic Fusier CLA 2007-01-24 09:10:55 EST
*** Bug 171541 has been marked as a duplicate of this bug. ***
Comment 9 Frederic Fusier CLA 2007-02-05 04:04:38 EST
*** Bug 168555 has been marked as a duplicate of this bug. ***
Comment 10 Maxime Daniel CLA 2007-02-06 02:24:26 EST
Verified for 3.3 M5 using build I20070205-1824.