Bug 97310

Summary: code assist for type variable bounds: should not suggest classes
Product: [Eclipse Project] JDT Reporter: Martin Aeschlimann <martinae>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: eric_jodet
Version: 3.1   
Target Milestone: 3.4 M7   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Proposed fix none

Description Martin Aeschlimann CLA 2005-05-30 12:33:25 EDT
RC1

At the following location you can only insert interfaces. Code assist also
suggests classes and other type variables:

class Y<L1, A extends Number & L|code assist here   > {
}
Comment 1 David Audel CLA 2008-04-09 09:26:45 EDT
Created attachment 95360 [details]
Proposed fix

The new behavior will be same as super interface completion:
class X implements L<code assist here>

Only interface are proposed.
Comment 2 David Audel CLA 2008-04-09 09:29:22 EDT
Released for 3.4M7.

Test added
  CompletionTests_1_5#test0361()
Comment 3 Eric Jodet CLA 2008-04-28 07:43:33 EDT
Verified for 3.4M7 using I20080427-2000.