Summary: | [1.5][compiler] ClassCastException creating a generic local class | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Olivier Thomann <Olivier_Thomann> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Olivier Thomann
2004-11-24 10:15:10 EST
Problem lies in inneremulation, which did not step back to super type erasure as it should. Added regression test: GenericTypeTest#test428 Fixed Verified in 200412140800 that the CCE doesn't occur anymore, but we report a warning. ---------- 1. WARNING in C:\tests_sources\X.java (at line 11) Long get() { ^^^^ Type safety: The return type Long of the method get() of type new A<Long>(){} needs unchecked conversion to conform to the return type T of inherited method ---------- 1 problem (1 warning) |