Bug 120667 - [hierarchy] Type hierarchy for enum type does not include anonymous subtypes
Summary: [hierarchy] Type hierarchy for enum type does not include anonymous subtypes
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.2   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Jerome Lanneluc CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-13 14:08 EST by Markus Keller CLA
Modified: 2006-08-07 05:21 EDT (History)
0 users

See Also:


Attachments
Proposed patch and regression test (11.42 KB, patch)
2006-06-14 12:37 EDT, Jerome Lanneluc CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2005-12-13 14:08:27 EST
I20051213-0010

public enum Try {
    THIS,
    THAT(),
    ANONYMOUS() {}
}

- Type hierarchy on Try does not include the anonymous type declared in ANONYMOUS
- Type hierarchy on the anonymous type (e.g. from Outline) has no super types
Comment 1 Jerome Lanneluc CLA 2006-06-14 12:37:55 EDT
Created attachment 44420 [details]
Proposed patch and regression test
Comment 2 Jerome Lanneluc CLA 2006-06-14 12:41:26 EDT
Patch and tests released for 3.3M1 in HEAD.
Comment 3 Frederic Fusier CLA 2006-08-07 05:21:37 EDT
Verified for 3.3 M1 using build I20060807-0010