Bug 133005

Summary: BinaryTypeConverter cannot convert generic type reference.
Product: [Eclipse Project] JDT Reporter: David Audel <david_audel>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: darin.eclipse, eric_jodet
Version: 3.0   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Prototype of new BinaryTypeConverter
none
Proposed fix none

Description David Audel CLA 2006-03-23 10:15:25 EST
from bug 132665

In SnippetCompletionTests_1_5#testCodeSnippetAssistForBug132665 foo2() isn't proposed. It's because its return type is Bug132665<? extends Object> and BinaryTypeConverter is unable to convert generic type reference.
Comment 1 David Audel CLA 2006-04-10 12:34:08 EDT
Created attachment 38166 [details]
Prototype of new BinaryTypeConverter

This is a partial fix. I didn't really test this code. And perhaps there is a better way to solve the problem.
Comment 2 Jerome Lanneluc CLA 2006-05-03 07:33:24 EDT
Post 3.2
Comment 3 Jerome Lanneluc CLA 2007-05-16 10:03:01 EDT
To be investigated for 3.4
Comment 4 David Audel CLA 2007-05-16 10:05:47 EDT
*** Bug 184940 has been marked as a duplicate of this bug. ***
Comment 5 David Audel CLA 2008-04-03 07:14:30 EDT
Created attachment 94702 [details]
Proposed fix
Comment 6 David Audel CLA 2008-04-03 07:18:23 EDT
Released for 3.4M7.

Test updated
  SnippetCompletionTests_1_5#testCodeSnippetAssistForBug132665()
  SnippetCompletionTests_1_5#testCodeSnippetAssistForBug223878()
Comment 7 Eric Jodet CLA 2008-04-29 09:08:43 EDT
Verified for 3.4M7 using I20080427-2000.