Bug 214191 - "hierarchy of type ... inconsistent" error message wrong
Summary: "hierarchy of type ... inconsistent" error message wrong
Status: VERIFIED DUPLICATE of bug 205235
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.3.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.4 M5   Edit
Assignee: JDT-Core-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-01-02 22:48 EST by Eric Inman CLA
Modified: 2008-02-13 16:48 EST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Inman CLA 2008-01-02 22:48:18 EST
Build ID: M20070921-1145

Steps To Reproduce:
Create a project with the following classes in the same package:

A.java:
import java.util.Collection;

public abstract class A
<T extends A<T,S>,S extends Collection<T>> {}

B.java:
import java.util.Collection;

public abstract class B extends A<D,Collection<D>> {}

C.java:
public abstract class C extends B {}

D.java:
public final class D extends C {}

In class C, C will be underlined in red with the message "The hierarchy of type C is inconsistent". However, no errors are indicated otherwise, such as in the Problems view.

More information:
This seems similar to bug 35899.
Comment 1 Eric Inman CLA 2008-01-03 10:33:51 EST
Seems connected with bug 214237.
Comment 2 Frederic Fusier CLA 2008-01-06 11:51:36 EST
I cannot reproduce using 3.4M4, but I could not identify which bug fix solved this problem. So, close as WORKFORME for now
Comment 3 Jerome Lanneluc CLA 2008-01-09 06:46:52 EST
The original bug is bug 205235.
Comment 4 Jerome Lanneluc CLA 2008-01-09 06:47:02 EST

*** This bug has been marked as a duplicate of bug 205235 ***
Comment 5 Maxime Daniel CLA 2008-02-04 07:23:10 EST
Verified for 34M5 using I20080204-0010 build.