Bug 133005 - BinaryTypeConverter cannot convert generic type reference.
Summary: BinaryTypeConverter cannot convert generic type reference.
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 184940 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-23 10:15 EST by David Audel CLA
Modified: 2008-04-29 09:08 EDT (History)
2 users (show)

See Also:


Attachments
Prototype of new BinaryTypeConverter (15.67 KB, patch)
2006-04-10 12:34 EDT, David Audel CLA
no flags Details | Diff
Proposed fix (62.01 KB, patch)
2008-04-03 07:14 EDT, David Audel CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.