Bug 96213 - Eclipse 3.1M7 - Field completion stack overflow
Summary: Eclipse 3.1M7 - Field completion stack overflow
Status: VERIFIED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: 3.1 RC1   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-21 05:51 EDT by Olivier Oeuillot CLA
Modified: 2005-05-27 09:09 EDT (History)
0 users

See Also:


Attachments
Details of the stack overflow (111.52 KB, text/plain)
2005-05-21 05:52 EDT, Olivier Oeuillot CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Oeuillot CLA 2005-05-21 05:51:53 EDT
A field completion into Java editor failed.

See attached file for more detail !
Comment 1 Olivier Oeuillot CLA 2005-05-21 05:52:57 EDT
Created attachment 21549 [details]
Details of the stack overflow
Comment 2 David Audel CLA 2005-05-24 13:18:52 EDT
Fixed and test added
  CompletionTests#testBug96213()


The following method must be added in CompletionParser

protected void consumePrimaryNoNewArrayNameThis() {
  // this is class literal access, so reset potential receiver
  this.invocationType = NO_RECEIVER;
  this.qualifier = -1;
	
  super.consumePrimaryNoNewArrayNameThis();
}
Comment 3 Maxime Daniel CLA 2005-05-27 07:26:15 EDT
Verified on build I20050527-0010.