Summary: | [1.5][compiler] Problem inferring from #getClass() invocation | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | liuyehui |
Version: | 3.2 | ||
Target Milestone: | 3.1.2 | ||
Hardware: | PC | ||
OS: | Windows XP | ||
Whiteboard: |
Description
Philipe Mulet
2006-01-09 04:57:01 EST
PR reported originally by liuyehui@gmail.com in wrong bug report. Problem comes from improper type adjustement for #getClass. Instead of yielding Class<? extends X>, it provides: Class<? extends X<C>> (which then gets captured). It should convert to raw type X<C> into X. Added GenericTypeTest#test884. Backported to 3.1 maintenance. Fixed both in 3.1.2 and 3.2 streams. Verified for 3.1.2 in M20060109-0800. It seems I missed this bug during 3.2 M5 verification process. It's now done: Verified for 3.2 M5 using build I20060217-1115... |