Summary: | [1.5][compiler] Generic varargs are built with incorrect array type | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | David Stubbs <david.stubbs> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | major | ||
Priority: | P3 | CC: | thomas, xiongjie |
Version: | 3.1 | ||
Target Milestone: | 3.1.1 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
David Stubbs
2005-06-29 14:00:39 EDT
*** Bug 102278 has been marked as a duplicate of this bug. *** Added VarargsTest#test031. Problem comes from the fact the original method is used instead of parameterized one for retrieving the varargs array type. Test<String> -> method(String...) -> original: method(A...) -> arg leaftype: A -> erasure(): Object. It should simply erase the substituted argument: String -> String Fixed Fixed Verified in 3.2 M1 with build I20050808-2000. *** Bug 108095 has been marked as a duplicate of this bug. *** Verified using M20050923-1430 for 3.1.1 |