Summary: | [1.5][compiler] Invalid diagnostic invoking method through raw interface | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Tim Hanson <thanson> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1.1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Tim Hanson
2005-08-23 13:35:21 EDT
Reproduced in latest. Created attachment 26740 [details]
Proposed patch
The problem is that scope is creating a raw type for handler because it is a
nested type. The patch modifies the substitution code to only create the raw
type for a nested type if the outer type is susbstituted.
Thanks Tim, you identified well the offending code in Scope. My fix is very similar, simply reorganized the code to deal with member types in the previous catch (no more fall-thru which ends up adding complexity). Added GenericTypeTest#test0807-808. Fixed Verified in I20050921-0010 for 3.2M2 Verified using M20050923-1430 for 3.1.1 |