Summary: | [1.5][compiler] NullPointerException with nested self-referential generics | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Garret Wilson <garret> |
Component: | Core | Assignee: | Kent Johnson <kent_johnson> |
Status: | RESOLVED DUPLICATE | QA Contact: | |
Severity: | major | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Garret Wilson
2005-07-03 14:12:02 EDT
Pls provide complete testcase. It is likely related to interfaces as indicated by the stack trace. *** This bug has been marked as a duplicate of 101456 *** I know that this bug has been marked as duplicate. But please check this class declaration where I get the same internal compiler error. By the way, this worked with eclipse 3.1M7. public class Interval<C extends Comparable< ? super C>> implements Comparable<Interval< ? extends C>>, Cloneable { protected int compareLowerBounds(Interval< ? extends C> other) { return 0; } public int compareTo(Interval< ? extends C> other) { return compareLowerBounds(other); } } |