Bug 76159 - Missing type in hierarchy
Summary: Missing type in hierarchy
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.1 M3   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-13 09:23 EDT by Philipe Mulet CLA
Modified: 2004-11-04 07:11 EST (History)
0 users

See Also:


Attachments
In JDT/Core self-hosting workspace, apply attached patch to get into same state (22.06 KB, patch)
2004-10-13 09:25 EDT, Philipe Mulet CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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