Bug 31646

Summary: No proposal using code assist in field initializer
Product: [Eclipse Project] JDT Reporter: Jerome Lanneluc <jerome_lanneluc>
Component: CoreAssignee: David Audel <david_audel>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 RC1   
Hardware: PC   
OS: Windows 2000   
Whiteboard:
Attachments:
Description Flags
CU that has the problem none

Description Jerome Lanneluc CLA 2003-02-12 06:54:04 EST
Build 20020311

In the attached cu, position cursor on line 449, column 36 and press Ctrl-
space. You get no proposal. HashMap should be at least amongst the proposals.
Comment 1 Jerome Lanneluc CLA 2003-02-12 06:54:37 EST
Created attachment 3432 [details]
CU that has the problem
Comment 2 Philipe Mulet CLA 2003-02-12 06:57:44 EST
Time permitting for 2.1
Comment 3 David Audel CLA 2003-02-18 09:48:33 EST
Problem is in AssistParser#popUntil
Replace 'if(i > 0)' by 'if(i >= 0)'
Fixed.
Comment 4 David Audel CLA 2003-03-04 11:18:38 EST
Verified.