Summary: | [1.5][compiler] VerifyError - Generics and Interfaces - "Wrong return type in function" | ||||||
---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Bryan Barkley <bbarkley> | ||||
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> | ||||
Status: | VERIFIED FIXED | QA Contact: | |||||
Severity: | critical | ||||||
Priority: | P3 | ||||||
Version: | 3.1 | ||||||
Target Milestone: | 3.1 RC1 | ||||||
Hardware: | PC | ||||||
OS: | Windows XP | ||||||
Whiteboard: | |||||||
Attachments: |
|
Description
Bryan Barkley
2005-05-25 13:09:27 EDT
Reproduced Problem comes from synthetic bridge method not issuing an exception attribute. Olivier: all synthetic methods should dump exception attributes if the binding carries any. Only bridge methods should currently specify any, but in theory more could do so as well. Created attachment 21860 [details]
Apply on HEAD
Thanks Olivier, indeed there was another more serious issue with missing checkcast in bridge method. Only do the cast when access method type is different from target method. Fixed. Added GenericTypeTest#test700. Verified in I20050526-2000 |