Summary: | [1.5][compiler] chain of generics-extends confuse compiler | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tobias Riemenschneider <tobys> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | darin.eclipse |
Version: | 3.1 | ||
Target Milestone: | 3.1 RC3 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Tobias Riemenschneider
2005-06-16 11:32:24 EDT
Reproduced. It looks completely wrong. +1 for RC3 Darin - pls vote for it. Problem is that we issue an error which is totally wrong (bound mismatch for variable with no formal bound !?) and it used to work pre-RC2. Added GenericTypeTest#test761-762 Problem comes from merged algorithm to find supertype erasure which lost custom support for type variables in supertypes (here: ? extends D). Fix is to propagate type variable check when walking supertypes. +1 Fixed Verified using N20050616-0010 + JDT/Core HEAD |