Bug 97310 - code assist for type variable bounds: should not suggest classes
Summary: code assist for type variable bounds: should not suggest classes
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M7   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-30 12:33 EDT by Martin Aeschlimann CLA
Modified: 2008-04-28 07:43 EDT (History)
1 user (show)

See Also:


Attachments
Proposed fix (6.76 KB, patch)
2008-04-09 09:26 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 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.