Summary: | [compiler][1.5] Different behaviour between Eclipse compiler and javac with generic methods | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Mauro Molinari <mauromol> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.4 | ||
Target Milestone: | 3.5 M5 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Mauro Molinari
2008-07-02 04:50:59 EDT
Not a regression from 3.3.x I think this is a bug in javac that when using 15.12.2.8 to infer from expected type it shouldn't use Object, but upper bound (like we do). If it did, then it would be able to compile this code correctly. Closing as a javac bug. Added GenericTypeTest#test1428 Verified for 3.5M5 |