Summary: | [1.5][compiler] Missed error for generic array creation. | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | R Lenard <rlenard> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | ||
Version: | 3.1 | ||
Target Milestone: | 3.1 M4 | ||
Hardware: | PC | ||
OS: | Windows 2000 | ||
Whiteboard: |
Description
R Lenard
2004-11-08 01:12:11 EST
Array initializers of generic array type should indeed be rejected (currently only rejecting array alloc expr). Added regression test: GenericTypeTest#test393. Tricky case is array alloc combined with trailing initializer, should only issue one error report: e.g. new List<String[]{} Fixed Verified in 200412140800 |