Bug 76159

Summary: Missing type in hierarchy
Product: [Eclipse Project] JDT Reporter: Philipe Mulet <philippe_mulet>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.1   
Target Milestone: 3.1 M3   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
In JDT/Core self-hosting workspace, apply attached patch to get into same state none

Description Philipe Mulet CLA 2004-10-13 09:23:29 EDT
JDT/Core from HEAD (as of 20041013)

When implementing support for enumerations (see attached patch), opening a type
hierarchy on FieldDeclaration(from compiler AST) did not find EnumConstant as a
direct subtype.
Comment 1 Philipe Mulet CLA 2004-10-13 09:25:46 EDT
Created attachment 15135 [details]
In JDT/Core self-hosting workspace, apply attached patch to get into same state

The patch is to be applied to JDTCore sources, which constitute the original
testcase (it is not meant to be used to run Eclipse).
Comment 2 Philipe Mulet CLA 2004-10-13 09:27:22 EDT
Made version of JDT/Core v_514a to represent current HEAD state (to which the
patch applies).
Comment 3 Jerome Lanneluc CLA 2004-10-13 13:07:12 EDT
Cannot reproduce using v_514a + attached patch.
Comment 4 Jerome Lanneluc CLA 2004-10-15 09:01:54 EDT
Cannot reproduce
Comment 5 Jerome Lanneluc CLA 2004-10-15 10:09:57 EDT
Reproduced by adding a new class: it is not indexed.
Comment 6 Jerome Lanneluc CLA 2004-10-15 10:51:35 EDT
Problem was in ClasspathEntry#combineWith that swapped the output location
argument with the root path argument.
Comment 7 Frederic Fusier CLA 2004-11-04 07:11:24 EST
Verified for 3.1 M3 with build I200411040010 + jdt.core HEAD