Bug 7636 - Can't do code assist after field with local class
Summary: Can't do code assist after field with local class
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows 2000
: P3 normal (vote)
Target Milestone: 2.0 M3   Edit
Assignee: David Audel CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-15 14:03 EST by Nick Edgar CLA
Modified: 2002-02-12 06:18 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.