Summary: | Error message for instanceof <parameterized type> wrong arguments | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Markus Keller <markus.kell.r> | ||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | CC: | jarthana, Olivier_Thomann | ||||
Version: | 3.6 | ||||||
Target Milestone: | 3.6 M7 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Markus Keller
2010-04-01 10:59:11 EDT
Oops, the arguments are not really swapped. The first argument is actually OK, but the second argument should be the erased type-qualified type, i.e.: "Use the form Test.MyEntry instead ...". Created attachment 164036 [details]
Proposed fix + regression test
Released for 3.6M7. Regression test added in: org.eclipse.jdt.core.tests.compiler.regression.GenericTypeTest#test1460 Verified for 3.6M7 using build I20100424-2000. |