| Summary: | [1.5][compiler] secondary error upon broken parameter type | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Maxime Daniel <maxime_daniel> |
| Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
| Status: | VERIFIED INVALID | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | philippe_mulet |
| Version: | 3.4 | ||
| Target Milestone: | 3.4 M4 | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
|
Description
Maxime Daniel
Actually, the problem comes from using a raw type X.
Following works as expected:
public class X<T extends Zork & Runnable> {
T get() { return null; }
void foo(X<T> x) {
Runnable r = x.get();
}
}
Closing as invalid.
Added GenericTypeTest#test1222
In fact, we do better than javac 7 on the second case. Verified for 3.4M4 using build I20071210-1800. |