Bug 7636

Summary: Can't do code assist after field with local class
Product: [Eclipse Project] JDT Reporter: Nick Edgar <n.a.edgar>
Component: CoreAssignee: David Audel <david_audel>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0   
Target Milestone: 2.0 M3   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Nick Edgar CLA 2002-01-15 14:03:39 EST
Build 20010209

In the following code, I can't do code assist <here>.
It works OK if I move the new field to be the first.

package org.eclipse.ui.internal;
import org.eclipse.ui.*;
import org.eclipse.ui.internal.dialogs.*;
import org.eclipse.ui.internal.registry.*;
import org.eclipse.ui.part.*;
import org.eclipse.jface.action.*;
import org.eclipse.jface.dialogs.*;
import org.eclipse.jface.window.*;
import java.util.*;

/**
 * A <code>ShowViewMenu</code> is used to populate a menu manager with
 * Show View actions.  The visible views are determined by user preference
 * from the Perspective Customize dialog. 
 */
public class ShowViewMenu extends ShortcutMenu implements IPartListener {
	private Action showDlgAction = new Action(WorkbenchMessages.getString
("ShowView.title")) { //$NON-NLS-1$
		public void run() {
			showOther();
		}
	};
	private Comparator<here>
Comment 1 Erich Gamma CLA 2002-01-16 09:52:47 EST
Moving to core for investigation
Comment 2 David Audel CLA 2002-02-12 04:40:22 EST
inMethodStack and inFieldInitializationStack are not initialized properly after 
recovery

Fixed.